Skip to content

Commit a616742

Browse files
committed
Configure todomvc-flux npm test to use jest
1 parent f8d0291 commit a616742

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/todomvc-flux/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"start": "STATIC_ROOT=./static watchify -o js/bundle.js -v -d .",
2121
"build": "STATIC_ROOT=./static NODE_ENV=production browserify . | uglifyjs -cm > js/bundle.min.js",
2222
"collect-static": "collect-static . ./static",
23-
"test": "echo \"Error: no test specified\" && exit 1"
23+
"test": "jest"
2424
},
2525
"author": "Bill Fisher",
2626
"license": "Apache 2",
@@ -29,5 +29,8 @@
2929
"reactify",
3030
"envify"
3131
]
32+
},
33+
"jest": {
34+
"rootDir": "./js"
3235
}
3336
}

0 commit comments

Comments
 (0)