Browse Source

fix compose html karma test reporter path

pull/5208/head
Oleksandr.Karpovich 11 months ago
parent
commit
0f12171c58
  1. 2
      html/test-utils/conf/karma-kotlin-runner-decorator/karma-kotlin-reporter-decorated.js

2
html/test-utils/conf/karma-kotlin-runner-decorator/karma-kotlin-reporter-decorated.js

@ -9,7 +9,7 @@ const NewReporter = function(baseReporterDecorator, config, emitter) { @@ -9,7 +9,7 @@ const NewReporter = function(baseReporterDecorator, config, emitter) {
const fs = require('fs');
// const kotlinVersion = fs.readFileSync(path.resolve(__dirname, "../../../buildSrc/build/kotlin.version"), 'utf8');
const kotlinReporterModule = require(`../../../build/js/packages_imported/kotlin-test-js-runner/0.0.1/karma-kotlin-reporter`);
const kotlinReporterModule = require(`../../../build/js/node_modules/kotlin-web-helpers/dist/karma-kotlin-reporter`);
const KotlinReporter = kotlinReporterModule['reporter:karma-kotlin-reporter'][1];
this.$inject = KotlinReporter.$inject

Loading…
Cancel
Save