File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ $ npm run test:karma:integration
68
68
69
69
Then visit: http://localhost:9876/debug.html
70
70
71
+ Keep in mind that in order for in-browser tests to work correctly, they need to be bundled first:
72
+
73
+ ``` bash
74
+ $ grunt build.test
75
+ ```
76
+
71
77
If you want to make sure that your changes will fit in our 10kB budget:
72
78
73
79
``` bash
Original file line number Diff line number Diff line change 19
19
"lint" : " eslint ." ,
20
20
"precommit" : " lint-staged" ,
21
21
"publish" : " npm run test && grunt publish" ,
22
- "test" : " npm run lint && npm run test:size && grunt build.test && npm run test:unit && npm run test:integration && npm run test:typescript" ,
22
+ "test" : " npm run lint && grunt build.test && npm run test:unit && npm run test:integration && npm run test:typescript" ,
23
23
"test:karma:unit" : " karma start karma.unit.config.js" ,
24
24
"test:karma:integration" : " karma start karma.integration.config.js " ,
25
25
"test:karma:sauce" : " karma start karma.sauce.config.js " ,
26
26
"test:unit" : " npm run test:karma:unit -- --single-run" ,
27
27
"test:integration" : " npm run test:karma:integration -- --single-run" ,
28
28
"test:typescript" : " tsc --noEmit --noImplicitAny typescript/raven-tests.ts" ,
29
29
"test:ci" : " npm run lint && grunt test:ci && npm run test:karma:sauce" ,
30
- "test:size" : " grunt dist && bundlesize"
30
+ "test:size" : " grunt dist && bundlesize && git checkout -- dist/ "
31
31
},
32
32
"devDependencies" : {
33
33
"bluebird" : " ^3.4.1" ,
You can’t perform that action at this time.
0 commit comments