Skip to content

Commit

Permalink
Fix dependency graph for runMocha tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
jGleitz committed Apr 12, 2020
1 parent 1645b1e commit a99420d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def createJsTestTask(String... subprojectNames) {
nodeModulesDir = nodeModulesParentDir
}

task runMocha(type: NpxTask, dependsOn: [compileTestKotlin2Js, populateNodeModules, test]) {
task runMocha(type: NpxTask, dependsOn: [compileTestKotlin2Js, populateNodeModules]) {
command = "mocha"
args = [compileTestKotlin2Js.outputFile]
}
Expand Down
2 changes: 1 addition & 1 deletion samples/js/mocha/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ task establishDependencyToAtrium(dependsOn: [compileTestKotlin2Js]) {
srcFile.write(newContent, 'UTF-8')
}
}
task runMocha(type: NpxTask, group: 'Verification', dependsOn: [compileTestKotlin2Js, populateNodeModules, test, establishDependencyToAtrium]) {
task runMocha(type: NpxTask, group: 'Verification', dependsOn: [compileTestKotlin2Js, populateNodeModules, establishDependencyToAtrium]) {
command = "mocha"
args = [compileTestKotlin2Js.outputFile]
}
Expand Down

0 comments on commit a99420d

Please sign in to comment.