File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed
Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 2929 "babel-core" : " ^5.4.4" ,
3030 "babel-loader" : " ~5" ,
3131 "babel-runtime" : " ~5" ,
32- "babel-plugin-object-assign" : " ~1.1 " ,
32+ "babel-plugin-object-assign" : " ~1.2 " ,
3333 "chai" : " ~3" ,
3434 "classnames" : " ~2" ,
35- "css-loader" : " ~0.14 " ,
35+ "css-loader" : " ~0.15 " ,
3636 "istanbul" : " ~0.3" ,
3737 "istanbul-instrumenter-loader" : " ~0.1" ,
3838 "karma" : " ~0.12" ,
39- "karma-chrome-launcher" : " ~0.1 " ,
39+ "karma-chrome-launcher" : " ~0.2 " ,
4040 "karma-cli" : " ~0.0" ,
41- "karma-coverage" : " ~0.3 " ,
42- "karma-mocha" : " ~0.1 " ,
41+ "karma-coverage" : " ~0.4 " ,
42+ "karma-mocha" : " ~0.2 " ,
4343 "karma-mocha-reporter" : " ^1.0.2" ,
44- "karma-sinon-chai" : " ~0.3 " ,
44+ "karma-sinon-chai" : " ~1.0 " ,
4545 "karma-sourcemap-loader" : " ^0.3.4" ,
4646 "karma-webpack" : " ~1" ,
4747 "mocha" : " ~2.2" ,
4848 "page" : " ~1.6" ,
49- "postcss-loader" : " ^0.4.4 " ,
49+ "postcss-loader" : " ~0.5.0 " ,
5050 "raw-loader" : " ~0.5" ,
5151 "react" : " ~0.13" ,
5252 "sass-loader" : " ~1.0" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ describe('Microcosm', function() {
2121
2222 new MyApp ( ) . stores . should . have . property ( 'foo' )
2323 } )
24-
24+
2525 describe ( '::replace' , function ( ) {
2626 it ( 'runs deserialize before committing results' , function ( done ) {
2727 let spy = sinon . spy ( app , 'deserialize' )
@@ -211,8 +211,8 @@ describe('Microcosm', function() {
211211 describe ( '::start' , function ( ) {
212212 it ( 'can run multiple callbacks' , function ( done ) {
213213 let app = new Microcosm ( )
214- let a = sinon . mock ( )
215- let b = sinon . mock ( )
214+ let a = sinon . stub ( )
215+ let b = sinon . stub ( )
216216
217217 app . start ( a , b , function ( ) {
218218 a . should . have . been . called
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ export default {
66 return 'test'
77 } ,
88
9- [ Action ] ( ) {
10- return true
9+ register ( ) {
10+ return {
11+ [ Action ] ( ) {
12+ return true
13+ }
14+ }
1115 }
12-
1316}
You can’t perform that action at this time.
0 commit comments