File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ export default function configure(config: any) {
2121
2222 webpack : {
2323 mode : "development" ,
24+
25+ // Handles NodeJS polyfills
26+ // https://webpack.js.org/configuration/node
27+ // Note that the dependencies in https://github.com/webpack/node-libs-browser are sometimes too old.
2428 node : {
2529 assert : false ,
2630 util : false ,
@@ -39,6 +43,7 @@ export default function configure(config: any) {
3943 loader : "ts-loader" ,
4044 options : {
4145 configFile : "tsconfig.karma.json" ,
46+ // FIXME: some types for dependencies cannot be resolved, so ignore type checking for now.
4247 transpileOnly : true ,
4348 } ,
4449 } ,
Original file line number Diff line number Diff line change 1313 "test" : " mocha 'test/**/*.test.ts'" ,
1414 "test:cover" : " npx nyc mocha 'test/**/*.test.ts'" ,
1515 "test:browser" : " karma start" ,
16- "test:browser:firefox" : " karma start --single-run --borwsers Firefox " ,
17- "test:browser:chrome" : " karma start --single-run --borwsers Chrome " ,
16+ "test:browser:firefox" : " karma start --single-run --borwsers FirefoxHedless " ,
17+ "test:browser:chrome" : " karma start --single-run --borwsers ChromeHeadless " ,
1818 "lint" : " eslint --ext .ts src test" ,
1919 "lint:fix" : " eslint --fix --ext .ts src test && npm run format" ,
2020 "lint:print-config" : " eslint --print-config .eslintrc.js" ,
You can’t perform that action at this time.
0 commit comments