[Gradle, JS] Fix package in js composite build test
This commit is contained in:
+2
-2
@@ -104,8 +104,8 @@ class Kotlin2JsIrGradlePluginIT : AbstractKotlin2JsGradlePluginIT(true) {
|
||||
.let { it!!.version }
|
||||
|
||||
build("build") {
|
||||
val appAsyncVersion = moduleVersion("build/js/node_modules/js-composite-build", "async", "..")
|
||||
assertEquals("3.2.0", appAsyncVersion)
|
||||
val appAsyncVersion = moduleVersion("build/js/node_modules/js-composite-build", "node-fetch", "..")
|
||||
assertEquals("3.2.8", appAsyncVersion)
|
||||
|
||||
val libAsyncVersion = moduleVersion("build/js/node_modules/lib2", "async", "..")
|
||||
assertEquals("2.6.2", libAsyncVersion)
|
||||
|
||||
+1
-1
@@ -41,6 +41,6 @@ rootProject.tasks
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib-js"))
|
||||
implementation("com.example:lib2")
|
||||
implementation(npm("async", "3.2.0"))
|
||||
implementation(npm("node-fetch", "3.2.8"))
|
||||
testImplementation(kotlin("test-js"))
|
||||
}
|
||||
Reference in New Issue
Block a user