From c7d1477e3d8e5db7e504c38af7ee0a3113adae43 Mon Sep 17 00:00:00 2001 From: nea Date: Mon, 16 Aug 2021 16:04:39 +0200 Subject: delete test --- src/jsTest/kotlin/ProjectConfig.kt | 6 +----- src/jsTest/kotlin/io/FileServiceTest.kt | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/jsTest/kotlin/ProjectConfig.kt b/src/jsTest/kotlin/ProjectConfig.kt index cf0f15d..faa4d69 100644 --- a/src/jsTest/kotlin/ProjectConfig.kt +++ b/src/jsTest/kotlin/ProjectConfig.kt @@ -1,7 +1,3 @@ import io.kotest.core.config.AbstractProjectConfig -class ProjectConfig : AbstractProjectConfig() { - override suspend fun beforeProject() { - println("HELLO") - } -} +class ProjectConfig : AbstractProjectConfig() diff --git a/src/jsTest/kotlin/io/FileServiceTest.kt b/src/jsTest/kotlin/io/FileServiceTest.kt index 2ad5ee3..9c9c8b9 100644 --- a/src/jsTest/kotlin/io/FileServiceTest.kt +++ b/src/jsTest/kotlin/io/FileServiceTest.kt @@ -12,6 +12,7 @@ class FileServiceTest : FunSpec({ fun FunSpec.generateTests(name: String, provider: () -> FileService) { val aPath = Path.of("/a") as Path.Absolute + val bPath = Path.of("/a/b") as Path.Absolute val homePath = Path.of("/roothome") as Path.Absolute val dataA = "a".encodeToByteArray() val rootUser = User("root", homePath, true) @@ -19,6 +20,7 @@ fun FunSpec.generateTests(name: String, provider: () -> FileService FunSpec.generateTests(name: String, provider: () -> FileService