@applicaster/quick-brick-core 15.0.0-rc.79 → 15.0.0-rc.80
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as R from "ramda";
|
|
3
|
-
import { renderHook, act } from "@testing-library/react-
|
|
3
|
+
import { renderHook, act } from "@testing-library/react-native";
|
|
4
4
|
import { NetworkStatusContext } from "@applicaster/zapp-react-native-ui-components/Contexts/NetworkStatusContext";
|
|
5
5
|
import { NetworkStatusProvider } from "../NetworkStatusProvider";
|
|
6
6
|
import { WrappedWithProviders } from "@applicaster/zapp-react-native-utils/testUtils";
|
|
@@ -52,7 +52,7 @@ describe("NetworkStatusProvider", function () {
|
|
|
52
52
|
expect(result.current).toStrictEqual(NetInfoMock);
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
it("should call onConnectionLost callback when connection type changes to none", function () {
|
|
55
|
+
it("should call onConnectionLost callback when connection type changes to none", async function () {
|
|
56
56
|
const onConnectionLost = jest.fn();
|
|
57
57
|
|
|
58
58
|
const store = {
|
|
@@ -79,7 +79,7 @@ describe("NetworkStatusProvider", function () {
|
|
|
79
79
|
expect(onConnectionLost).toBeCalledTimes(1);
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
it("should call onConnectionRestored callback when connection type switches from none", function () {
|
|
82
|
+
it("should call onConnectionRestored callback when connection type switches from none", async function () {
|
|
83
83
|
const onConnectionRestored = jest.fn();
|
|
84
84
|
|
|
85
85
|
const store = {
|
|
@@ -116,7 +116,7 @@ describe("NetworkStatusProvider", function () {
|
|
|
116
116
|
expect(onConnectionRestored).toBeCalledTimes(1);
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
it("should call onConnectionTypeChanged callback when connection type changes", function () {
|
|
119
|
+
it("should call onConnectionTypeChanged callback when connection type changes", async function () {
|
|
120
120
|
const onConnectionTypeChanged = jest.fn();
|
|
121
121
|
|
|
122
122
|
const store = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/quick-brick-core",
|
|
3
|
-
"version": "15.0.0-rc.
|
|
3
|
+
"version": "15.0.0-rc.80",
|
|
4
4
|
"description": "Core package for Applicaster's Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@applicaster/applicaster-types": "15.0.0-rc.
|
|
32
|
-
"@applicaster/quick-brick-core-plugins": "15.0.0-rc.
|
|
33
|
-
"@applicaster/zapp-pipes-v2-client": "15.0.0-rc.
|
|
34
|
-
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.
|
|
35
|
-
"@applicaster/zapp-react-native-redux": "15.0.0-rc.
|
|
36
|
-
"@applicaster/zapp-react-native-ui-components": "15.0.0-rc.
|
|
37
|
-
"@applicaster/zapp-react-native-utils": "15.0.0-rc.
|
|
31
|
+
"@applicaster/applicaster-types": "15.0.0-rc.80",
|
|
32
|
+
"@applicaster/quick-brick-core-plugins": "15.0.0-rc.80",
|
|
33
|
+
"@applicaster/zapp-pipes-v2-client": "15.0.0-rc.80",
|
|
34
|
+
"@applicaster/zapp-react-native-bridge": "15.0.0-rc.80",
|
|
35
|
+
"@applicaster/zapp-react-native-redux": "15.0.0-rc.80",
|
|
36
|
+
"@applicaster/zapp-react-native-ui-components": "15.0.0-rc.80",
|
|
37
|
+
"@applicaster/zapp-react-native-utils": "15.0.0-rc.80",
|
|
38
38
|
"atob": "^2.1.2",
|
|
39
39
|
"axios": "^0.28.0",
|
|
40
40
|
"btoa": "^1.2.1",
|