-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6e1a84
commit 052fa50
Showing
9 changed files
with
24 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
libraries/apollo-api/src/jsMain/kotlin/com/apollographql/apollo3/api/systemFileSystem.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
package com.apollographql.apollo3.api | ||
|
||
import okio.FileSystem | ||
import okio.NodeJsFileSystem | ||
|
||
internal actual val systemFileSystem: FileSystem | ||
get() = NodeJsFileSystem | ||
get() = throw IllegalStateException("There is no SYSTEM filesystem on JS") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...-testing-support/src/appleMain/kotlin/com/apollographql/apollo3/testing/readFile.apple.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.apollographql.apollo3.testing | ||
|
||
actual fun shouldUpdateTestFixtures(): Boolean = false | ||
|
||
actual val testsPath: String = "../" |
12 changes: 0 additions & 12 deletions
12
...o-testing-support/src/appleMain/kotlin/com/apollographql/apollo3/testing/readFileApple.kt
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...upport/src/concurrentMain/kotlin/com/apollographql/apollo3/testing/readFile.concurrent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.apollographql.apollo3.testing | ||
|
||
import com.apollographql.apollo3.annotations.ApolloExperimental | ||
import okio.FileSystem | ||
import okio.SYSTEM | ||
|
||
/** | ||
* The host filesystem | ||
*/ | ||
@ApolloExperimental | ||
actual val HostFileSystem: FileSystem | ||
get() = FileSystem.SYSTEM |
File renamed without changes.
9 changes: 0 additions & 9 deletions
9
...llographql/apollo3/testing/readFileJvm.kt → ...lographql/apollo3/testing/readFile.jvm.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters