@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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { renderHook } from "@testing-library/react-hooks";
2
+ import { renderHook } from "@testing-library/react-native";
3
3
  import * as URLHandlersMap from "..";
4
4
 
5
5
  import { Provider } from "react-redux";
@@ -1,4 +1,4 @@
1
- import { act, renderHook } from "@testing-library/react-hooks";
1
+ import { act, renderHook } from "@testing-library/react-native";
2
2
  import { useErrorStore } from "../store";
3
3
 
4
4
  describe("Error Store", () => {
@@ -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-hooks";
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.79",
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.79",
32
- "@applicaster/quick-brick-core-plugins": "15.0.0-rc.79",
33
- "@applicaster/zapp-pipes-v2-client": "15.0.0-rc.79",
34
- "@applicaster/zapp-react-native-bridge": "15.0.0-rc.79",
35
- "@applicaster/zapp-react-native-redux": "15.0.0-rc.79",
36
- "@applicaster/zapp-react-native-ui-components": "15.0.0-rc.79",
37
- "@applicaster/zapp-react-native-utils": "15.0.0-rc.79",
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",