[K/JS TESTS] Remove .ts files genereting from generateTests command to enable Gradle execution optimizations

Warning Context:
> Task :js:js.tests:generate-ts-for-regular-classes-in-exported-file
Execution optimizations have been disabled for task ':js:js.tests:generate-ts-for-regular-classes-in-exported-file' to ensure correctness due to the following reasons:
  - Gradle detected a problem with the following location: './js/js.translator/testData/typescript-export/regular-classes-in-exported-file'. Reason: Task ':js:js.tests:generate-ts-for-regular-classes-in-exported-file' uses this output of task ':js:js.tests:generate-js-export-on-file-for-regular-classes' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

> generateTypeScriptTests
> tsc --build ./typescript-export/regular-classes-in-exported-file/tsconfig.json
This commit is contained in:
Artem Kobzar
2023-04-20 16:13:40 +00:00
committed by Space Team
parent da073c9cc3
commit c5b60a16bb
-1
View File
@@ -192,7 +192,6 @@ val generateTypeScriptJsExportOnFileTests = sequential(
!it.path.endsWith(exportFileDirPostfix)
}
.map { generateJsExportOnFileTestFor(it.name) }
.plus(generateTypeScriptTests)
)
fun Test.setupNodeJs() {