Skip to content

Commit 4297254

Browse files
committed
[gradle] Fix missing mocha reporter module
^KT-79089 Fixed
1 parent 95639d5 commit 4297254

File tree

1 file changed

+1
-1
lines changed
  • libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/mocha

1 file changed

+1
-1
lines changed

libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/testing/mocha/KotlinMocha.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class KotlinMocha internal constructor(
125125
add(mocha)
126126
add(file)
127127
addAll(cliArgs.toList())
128-
addAll(cliArg("--reporter", "kotlin-web-helpers/dist/mocha-kotlin-reporter.js"))
128+
addAll(cliArg("--reporter", npmProject.require("kotlin-web-helpers/dist/mocha-kotlin-reporter.js")))
129129
addAll(cliArg("--require", npmProject.require("kotlin-web-helpers/dist/kotlin-test-nodejs-runner.js")))
130130
if (debug) {
131131
add(NO_TIMEOUT_ARG)

0 commit comments

Comments
 (0)