File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77Thumbs.db
88.DS_Store
99/node_modules /
10+ .grunt /
Original file line number Diff line number Diff line change @@ -80,18 +80,16 @@ module.exports = function(grunt) {
8080 test : {
8181 options : {
8282 port : 8041 ,
83- open : 'http://localhost:8041/SpecRunner.html' ,
84- base : [
85- "scripts" ,
86- "test"
87- ]
83+ open : 'http://localhost:8041/_SpecRunner.html' ,
84+ base : "."
8885 }
8986 }
9087 } ,
9188
9289 jasmine : {
93- src : 'scripts/**/*.js' ,
90+ scripts : 'scripts/**/*.js' ,
9491 options : {
92+ build : true ,
9593 specs : 'test/*Spec.js' ,
9694 helpers : 'test/*Helper.js' ,
9795 vendor : [
@@ -153,12 +151,12 @@ module.exports = function(grunt) {
153151 buildType = "scss" ;
154152 }
155153
156- grunt . task . run ( [ "newer:jshint" , "test " , buildType ] ) ;
154+ grunt . task . run ( [ "newer:jshint" , "jasmine:scripts " , buildType ] ) ;
157155 } ) ;
158156
159157 grunt . registerTask ( "test" , [
160- "connect:test " ,
161- "jasmine "
158+ "jasmine:scripts:build " ,
159+ "connect:test "
162160 ] ) ;
163161
164162 grunt . registerTask ( "serve" , function ( target ) {
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > Jasmine Spec Runner</ title >
6+ < link rel ="shortcut icon " type ="image/png " href =".grunt/grunt-contrib-jasmine/jasmine_favicon.png ">
7+
8+ < link rel ="stylesheet " type ="text/css " href =".grunt/grunt-contrib-jasmine/jasmine.css ">
9+
10+
11+ </ head >
12+ < body >
13+
14+
15+ < script src =".grunt/grunt-contrib-jasmine/es5-shim.js "> </ script >
16+
17+ < script src =".grunt/grunt-contrib-jasmine/jasmine.js "> </ script >
18+
19+ < script src =".grunt/grunt-contrib-jasmine/jasmine-html.js "> </ script >
20+
21+ < script src =".grunt/grunt-contrib-jasmine/json2.js "> </ script >
22+
23+ < script src =".grunt/grunt-contrib-jasmine/boot.js "> </ script >
24+
25+ < script src ="https://code.jquery.com/jquery-1.10.2.min.js "> </ script >
26+
27+ < script src ="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js "> </ script >
28+
29+ < script src ="test/*Helper.js "> </ script >
30+
31+ < script src ="scripts/material.js "> </ script >
32+
33+ < script src ="scripts/ripples.js "> </ script >
34+
35+ < script src ="test/materialSpec.js "> </ script >
36+
37+ < script src ="test/ripplesSpec.js "> </ script >
38+
39+ < script src =".grunt/grunt-contrib-jasmine/reporter.js "> </ script >
40+
41+
42+ </ body >
43+ </ html >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33describe ( 'Material' , function ( ) {
44
5+ //Dummy test just to ensure tests are accurately configured
56 it ( 'jquery should be loaded' , function ( ) {
67 expect ( $ ) . toBeDefined ( ) ;
78 } ) ;
You can’t perform that action at this time.
0 commit comments