expo-modules-test-core 1.0.1 → 1.0.2-canary-20251205-a1dedc6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'org.unimodules'
|
|
7
|
-
version = '1.0.
|
|
7
|
+
version = '1.0.2-canary-20251205-a1dedc6'
|
|
8
8
|
|
|
9
9
|
expoModule {
|
|
10
10
|
canBePublished false
|
|
@@ -14,7 +14,7 @@ android {
|
|
|
14
14
|
namespace "org.unimodules.test.core"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 3
|
|
17
|
-
versionName '1.0.
|
|
17
|
+
versionName '1.0.2-canary-20251205-a1dedc6'
|
|
18
18
|
}
|
|
19
19
|
packagingOptions {
|
|
20
20
|
resources {
|
|
@@ -27,29 +27,29 @@ android {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
dependencies {
|
|
30
|
-
api 'androidx.test:core:1.
|
|
30
|
+
api 'androidx.test:core:1.7.0'
|
|
31
31
|
api 'junit:junit:4.13.2'
|
|
32
32
|
api('io.mockk:mockk:1.13.5') {
|
|
33
33
|
// jupiter is junit 5 which we don't use
|
|
34
34
|
exclude group: 'org.junit.jupiter'
|
|
35
35
|
}
|
|
36
|
-
api ("org.robolectric:robolectric:4.
|
|
36
|
+
api ("org.robolectric:robolectric:4.16") {
|
|
37
37
|
// Duplicate class bcprov-jdk15to18-1.78.1.jar and bcprov-jdk18on-1.78.1.jar
|
|
38
38
|
// Exclude the conflicting jdk18on version, so that jdk15to18 is used
|
|
39
39
|
exclude group: 'org.bouncycastle', module: 'bcprov-jdk18on'
|
|
40
40
|
}
|
|
41
41
|
// specify a version of Bouncy Castle - used in robolectric and androidx.room (expo-updates)
|
|
42
|
-
implementation 'org.bouncycastle:bcprov-jdk15to18:1.
|
|
43
|
-
testImplementation 'org.bouncycastle:bcprov-jdk15to18:1.
|
|
42
|
+
implementation 'org.bouncycastle:bcprov-jdk15to18:1.81'
|
|
43
|
+
testImplementation 'org.bouncycastle:bcprov-jdk15to18:1.81'
|
|
44
44
|
|
|
45
45
|
implementation 'com.facebook.react:react-android'
|
|
46
46
|
|
|
47
47
|
implementation "org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}"
|
|
48
48
|
|
|
49
49
|
// instrumented testing dependencies
|
|
50
|
-
api 'androidx.test.ext:junit:1.
|
|
51
|
-
api 'androidx.test:runner:1.
|
|
52
|
-
api 'androidx.test:rules:1.
|
|
53
|
-
api "com.google.truth:truth:1.
|
|
54
|
-
api "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.
|
|
50
|
+
api 'androidx.test.ext:junit:1.3.0'
|
|
51
|
+
api 'androidx.test:runner:1.7.0'
|
|
52
|
+
api 'androidx.test:rules:1.7.0'
|
|
53
|
+
api "com.google.truth:truth:1.4.5"
|
|
54
|
+
api "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2"
|
|
55
55
|
}
|
|
@@ -53,7 +53,7 @@ data class ModuleMock<TestInterfaceType : Any, ModuleType : Module>(
|
|
|
53
53
|
eventEmitter.emit(eventName as String, eventBody as? Bundle)
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
val holder = ModuleHolder(moduleSpy)
|
|
56
|
+
val holder = ModuleHolder(moduleSpy, null)
|
|
57
57
|
val moduleControllerImpl = ModuleControllerImpl(holder)
|
|
58
58
|
|
|
59
59
|
val invocationHandler = ModuleMockInvocationHandler(
|
package/ios/ExpoSpec.swift
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Copyright 2022-present 650 Industries. All rights reserved.
|
|
2
2
|
|
|
3
3
|
#if DEBUG
|
|
4
|
-
@_exported import Quick
|
|
5
|
-
@_exported import Nimble
|
|
6
|
-
@_exported @testable import ExpoModulesCore
|
|
4
|
+
@_exported @preconcurrency import Quick
|
|
5
|
+
@_exported @preconcurrency import Nimble
|
|
6
|
+
@_exported @testable @preconcurrency import ExpoModulesCore
|
|
7
7
|
|
|
8
|
+
@MainActor
|
|
9
|
+
@preconcurrency
|
|
8
10
|
open class ExpoSpec: QuickSpec {}
|
|
9
11
|
#endif
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-test-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2-canary-20251205-a1dedc6",
|
|
4
4
|
"main": "./app.plugin.js",
|
|
5
5
|
"description": "Module providing native testing utilities for testing Expo modules",
|
|
6
6
|
"keywords": [
|
|
@@ -33,6 +33,5 @@
|
|
|
33
33
|
"prettier": "^3.0.3",
|
|
34
34
|
"xml-js": "^1.6.11",
|
|
35
35
|
"yaml": "^2.3.2"
|
|
36
|
-
}
|
|
37
|
-
"gitHead": "e8b838828e5e985379c07294dc932dba66c89562"
|
|
36
|
+
}
|
|
38
37
|
}
|