Maven: Introduce test-js goal
#KT-7757 Fixed Maven K2JS should be able to build tests too
This commit is contained in:
@@ -39,6 +39,12 @@
|
||||
<goal>js</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>js tests</id>
|
||||
<goals>
|
||||
<goal>test-js</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
package test.sample
|
||||
|
||||
import sample.Hello
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
class SampleTest {
|
||||
Test fun dummy(): Unit {
|
||||
|
||||
Hello().doSomething()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user