diff --git a/libraries/kotlin.test/js/build.gradle b/libraries/kotlin.test/js/build.gradle index 96c2c7a91b1..8b5ca0abf5c 100644 --- a/libraries/kotlin.test/js/build.gradle +++ b/libraries/kotlin.test/js/build.gradle @@ -7,7 +7,7 @@ configurePublishing(project) dependencies { expectedBy project(':kotlin-test:kotlin-test-common') - compile project(':kotlin-test:kotlin-test-annotations-common') // TODO: replace with impl-dependency + expectedBy project(':kotlin-test:kotlin-test-annotations-common') compile project(':kotlin-stdlib-js') } diff --git a/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/Annotations.kt b/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/Annotations.kt index 95305e80b97..8fa6d34cdb7 100644 --- a/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/Annotations.kt +++ b/libraries/kotlin.test/js/src/main/kotlin/kotlin/test/Annotations.kt @@ -20,22 +20,22 @@ package kotlin.test * Marks a function as a test. */ @Target(AnnotationTarget.FUNCTION) -public annotation class Test +public actual annotation class Test /** * Marks a test or a suite as ignored. */ @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) -public annotation class Ignore +public actual annotation class Ignore /** * Marks a function to be invoked before each test. */ @Target(AnnotationTarget.FUNCTION) -public annotation class BeforeTest +public actual annotation class BeforeTest /** * Marks a function to be invoked after each test. */ @Target(AnnotationTarget.FUNCTION) -public annotation class AfterTest +public actual annotation class AfterTest