Skip to content
Snippets Groups Projects
Commit f026dd53 authored by jojohoch's avatar jojohoch
Browse files

[player] Add unit tests for UnitStateElementValueMappingService

parent e2c7b56d
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ module.exports = function (config) {
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage'),
require('karma-spec-reporter'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
......@@ -25,6 +26,7 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
// eslint-disable-next-line @typescript-eslint/no-var-requires
dir: require('path').join(__dirname, '../../coverage/player'),
subdir: '.',
reporters: [
......@@ -32,7 +34,7 @@ module.exports = function (config) {
{ type: 'text-summary' }
]
},
reporters: ['progress', 'kjhtml'],
reporters: ['progress', 'kjhtml', 'spec'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -19,7 +19,7 @@ getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment