[Gradle, JS] Fix tests, because kotlinNpmInstall can not be run

This commit is contained in:
Ilya Goncharov
2022-10-13 12:57:20 +02:00
committed by Space Team
parent 0547a89080
commit a1c61bb9a0
2 changed files with 4 additions and 4 deletions
@@ -122,7 +122,7 @@ abstract class AbstractJsConfigurationCacheIT(protected val irBackend: Boolean)
fun testTestDependencies(gradleVersion: GradleVersion) {
project("kotlin-js-project-with-test-dependencies", gradleVersion) {
assertSimpleConfigurationCacheScenarioWorks(
"assemble",
"assemble", "kotlinStoreYarnLock",
buildOptions = defaultBuildOptions,
executedTaskNames = listOf(":kotlinNpmInstall")
)
@@ -1697,7 +1697,7 @@ class GeneralKotlin2JsGradlePluginIT : KGPBaseTest() {
@GradleTest
fun testYarnLockStore(gradleVersion: GradleVersion) {
project("nodeJsDownload", gradleVersion) {
build("assemble") {
build("assemble", "kotlinStoreYarnLock") {
assertFileExists(projectPath.resolve("kotlin-js-store").resolve("yarn.lock"))
assert(
projectPath
@@ -1721,7 +1721,7 @@ class GeneralKotlin2JsGradlePluginIT : KGPBaseTest() {
}
""".trimIndent()
}
build("assemble") {
build("assemble", "kotlinNpmInstall") {
assert(
projectPath
.resolve("build")
@@ -1745,7 +1745,7 @@ class GeneralKotlin2JsGradlePluginIT : KGPBaseTest() {
build("clean")
build("assemble") {
build("assemble", "kotlinNpmInstall") {
assertDirectoryExists(
projectPath
.resolve("build")