File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable global-require */
12const jasmineSeedReporter = require ( './test/seed-reporter.cjs' ) ;
23const commonjs = require ( '@rollup/plugin-commonjs' ) ;
34const istanbul = require ( 'rollup-plugin-istanbul' ) ;
@@ -37,8 +38,10 @@ module.exports = async function(karma) {
3738 // https://github.com/pnpm/pnpm/issues/720#issuecomment-954120387
3839 const plugins = Object . keys ( require ( './package' ) . devDependencies ) . flatMap (
3940 ( packageName ) => {
40- if ( ! packageName . startsWith ( 'karma-' ) ) return [ ]
41- return [ require ( packageName ) ]
41+ if ( ! packageName . startsWith ( 'karma-' ) ) {
42+ return [ ] ;
43+ }
44+ return [ require ( packageName ) ] ;
4245 }
4346 ) ;
4447
@@ -53,7 +56,7 @@ module.exports = async function(karma) {
5356
5457 client : {
5558 jasmine : {
56- failFast : ! ! karma . autoWatch
59+ stopOnSpecFailure : ! ! karma . autoWatch
5760 }
5861 } ,
5962
You can’t perform that action at this time.
0 commit comments