Commit 7f8b1c4a authored by Mathias Chouet's avatar Mathias Chouet :spaghetti:
Browse files

Updated Karma and vscode config for usage with Chromium

Showing with 3 additions and 1 deletion
+3 -1
......@@ -24,6 +24,7 @@
"sourceMaps": true,
"webRoot": "${workspaceRoot}/build",
"url": "http://localhost:9876/debug.html",
"runtimeExecutable": "/usr/bin/chromium-browser",
"runtimeArgs": [
"--headless"
]
......
......@@ -63,7 +63,7 @@ module.exports = function (config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
browsers: ['Chromium'],
plugins: [
'karma-jasmine',
......
......@@ -29,6 +29,7 @@
},
"scripts": {
"build": "npm run buildgeneric -- src/tsconfig.app.json",
"buildspec": "npm run buildgeneric -- spec/tsconfig.spec.jasmine.json",
"buildgeneric": "npm run preprocess; rm -rf build; ./node_modules/typescript/bin/tsc --p",
"runtestremous": "./node_modules/typescript/bin/tsc --p spec/tsconfig-remous-fenetre.spec.json && node ./build/spec/test-remous-fenetre.js",
"jasmine": "npm run buildgeneric -- spec/tsconfig.spec.jasmine.json && ./node_modules/.bin/jasmine",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment