File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 9
9
"devDependencies" :
10
10
{
11
11
"easeljs" : " https://github.com/SpringRoll/EaselJS.git" ,
12
- "qunit" : " *" ,
12
+ "qunit" : " 2.6. *" ,
13
13
"springroll" : " *" ,
14
14
"google-code-prettify" : " *" ,
15
15
"bind-polyfill" : " *"
Original file line number Diff line number Diff line change 10
10
< div id ="qunit "> </ div >
11
11
< div id ="qunit-fixture "> </ div >
12
12
13
+ < iframe id ="frame "> </ iframe >
14
+
13
15
<!-- Unit testing dependencies -->
14
16
< script src ="../components/bind-polyfill/index.js "> </ script >
15
17
< script src ="../components/qunit/qunit/qunit.js "> </ script >
22
24
< script src ="../dist/container.js "> </ script >
23
25
24
26
< script >
25
- test ( 'Container Test' , function ( assert )
27
+ QUnit . test ( 'Container Test' , function ( assert )
26
28
{
27
- expect ( 1 ) ;
28
29
var Container = include ( 'springroll.Container' ) ;
29
- var container = new Container ( ) ;
30
+ var container = new Container ( '#frame' ) ;
30
31
container . destroy ( ) ;
31
- assert . ok ( true , "Created a container" ) ;
32
+ QUnit . assert . ok ( true , "Created a container" ) ;
32
33
} ) ;
33
34
</ script >
34
35
</ body >
35
- </ html >
36
+ </ html >
You can’t perform that action at this time.
0 commit comments