Skip to content

Commit cc5b86a

Browse files
authored
Remove NPM validation (#3312)
We will drop complete support of NPM as soon as JS IR is declared stable and this test is already a deadweight as it was never run due to misconfiguration
1 parent 110ca3d commit cc5b86a

File tree

2 files changed

+1
-93
lines changed

2 files changed

+1
-93
lines changed

integration-testing/build.gradle

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ repositories {
1414
}
1515

1616
sourceSets {
17-
npmTest {
18-
kotlin
19-
compileClasspath += sourceSets.test.runtimeClasspath
20-
runtimeClasspath += sourceSets.test.runtimeClasspath
21-
}
2217
mavenTest {
2318
kotlin
2419
compileClasspath += sourceSets.test.runtimeClasspath
@@ -43,20 +38,6 @@ compileDebugAgentTestKotlin {
4338
}
4439
}
4540

46-
task npmTest(type: Test) {
47-
def sourceSet = sourceSets.npmTest
48-
environment "projectRoot", project.rootDir
49-
environment "deployVersion", version
50-
def dryRunNpm = project.properties['dryRun']
51-
def doRun = dryRunNpm == "true" // so that we don't accidentally publish anything, especially before the test
52-
onlyIf { doRun }
53-
if (doRun) { // `onlyIf` only affects execution of the task, not the dependency subtree
54-
dependsOn(project(':').getTasksByName("publishNpm", true))
55-
}
56-
testClassesDirs = sourceSet.output.classesDirs
57-
classpath = sourceSet.runtimeClasspath
58-
}
59-
6041
task mavenTest(type: Test) {
6142
environment "version", version
6243
def sourceSet = sourceSets.mavenTest
@@ -96,8 +77,6 @@ task coreAgentTest(type: Test) {
9677
dependencies {
9778
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
9879
testImplementation 'junit:junit:4.12'
99-
npmTestImplementation 'org.apache.commons:commons-compress:1.18'
100-
npmTestImplementation 'com.google.code.gson:gson:2.8.5'
10180
debugAgentTestImplementation project(':kotlinx-coroutines-core')
10281
debugAgentTestImplementation project(':kotlinx-coroutines-debug')
10382
coreAgentTestImplementation project(':kotlinx-coroutines-core')
@@ -108,5 +87,5 @@ compileTestKotlin {
10887
}
10988

11089
check {
111-
dependsOn([npmTest, mavenTest, debugAgentTest, coreAgentTest])
90+
dependsOn([mavenTest, debugAgentTest, coreAgentTest])
11291
}

integration-testing/src/npmTest/kotlin/NpmPublicationValidator.kt

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)