[Gradle, JS] Fix tests, because kotlinNpmInstall can not be run
This commit is contained in:
committed by
Space Team
parent
0547a89080
commit
a1c61bb9a0
+1
-1
@@ -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")
|
||||
)
|
||||
|
||||
+3
-3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user