chore(release): 1.1.4 #23
Annotations
6 errors
|
coverage
Process completed with exit code 1.
|
|
src/react-native/config-provider.test.ts > ReactNativeConfigProvider > updateConfig() > should merge partial updates with existing config:
src/react-native/config-provider.test.ts#L269
AssertionError: expected 'http://localhost:8000' to be 'http://192.168.1.31:8000' // Object.is equality
Expected: "http://192.168.1.31:8000"
Received: "http://localhost:8000"
❯ src/react-native/config-provider.test.ts:269:35
|
|
src/react-native/config-provider.test.ts > ReactNativeConfigProvider > getConfig() > should handle AsyncStorage.getItem error:
src/react-native/config-provider.test.ts#L207
AssertionError: expected "warn" to be called at least once
❯ src/react-native/config-provider.test.ts:207:26
|
|
src/react-native/config-provider.test.ts > ReactNativeConfigProvider > getConfig() > should handle invalid JSON in AsyncStorage:
src/react-native/config-provider.test.ts#L184
AssertionError: expected "warn" to be called at least once
❯ src/react-native/config-provider.test.ts:184:26
|
|
src/react-native/config-provider.test.ts > ReactNativeConfigProvider > getConfig() > should prioritize AsyncStorage over environment variables:
src/react-native/config-provider.test.ts#L67
AssertionError: expected 'http://different-api:8000' to be 'http://192.168.1.31:8000' // Object.is equality
Expected: "http://192.168.1.31:8000"
Received: "http://different-api:8000"
❯ src/react-native/config-provider.test.ts:67:34
|
|
src/react-native/config-provider.test.ts > ReactNativeConfigProvider > getConfig() > should load config from AsyncStorage if available:
src/react-native/config-provider.test.ts#L32
AssertionError: expected { …(4) } to deeply equal { …(4) }
- Expected
+ Received
{
- "debugMode": true,
+ "debugMode": false,
"enableBiometrics": true,
"networkType": "testnet",
- "zhtpNodeUrl": "http://192.168.1.31:8000",
+ "zhtpNodeUrl": "http://localhost:8000",
}
❯ src/react-native/config-provider.test.ts:32:22
|