@trackunit/react-core-contexts-test 0.1.75 → 0.1.77

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "0.1.75",
3
+ "version": "0.1.77",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -12,13 +12,13 @@
12
12
  "types": "./src/index.d.ts",
13
13
  "dependencies": {
14
14
  "@apollo/client": "3.7.10",
15
- "@trackunit/react-core-contexts-api": "0.2.40",
16
- "@trackunit/react-core-hooks": "0.2.64",
17
- "@trackunit/tailwind-styled-components": "0.0.57",
15
+ "@trackunit/react-core-contexts-api": "0.2.41",
16
+ "@trackunit/react-core-hooks": "0.2.65",
17
+ "@trackunit/tailwind-styled-components": "0.0.58",
18
18
  "graphql": "15.8.0",
19
19
  "lodash": "4.17.21",
20
20
  "react": "18.2.0",
21
- "react-router-dom": "6.4.5"
21
+ "react-router-dom": "6.11.2"
22
22
  },
23
23
  "peerDependencies": {}
24
24
  }
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
- /**
3
- * This is a wrapper around the MockedProvider that logs errors to the console.
4
- */
5
- export declare function ApolloMockedProviderWithError(props: any): JSX.Element;
1
+ /// <reference types="react" />
2
+ /**
3
+ * This is a wrapper around the MockedProvider that logs errors to the console.
4
+ */
5
+ export declare function ApolloMockedProviderWithError(props: any): JSX.Element;
@@ -1,11 +1,11 @@
1
- import { RenderHookResult } from "@testing-library/react/pure";
2
- import * as React from "react";
3
- /**
4
- * This is a wrapper around the react testing library renderHook function.
5
- * It will make sure that the act function is called and that the promises are flushed.
6
- *
7
- * @param callback The callback to render the hook.
8
- * @param getMockedCompositionRoot A function that will return the mocked composition root.
9
- * @returns { Promise<RenderHookResult> } The rendered hook.
10
- */
11
- export declare const reactHooksRenderHook: <TProps, TResult>(callback: (props: TProps) => TResult, getMockedCompositionRoot: (children: React.ReactElement) => React.ReactElement) => Promise<RenderHookResult<TResult, TProps>>;
1
+ import { RenderHookResult } from "@testing-library/react/pure";
2
+ import * as React from "react";
3
+ /**
4
+ * This is a wrapper around the react testing library renderHook function.
5
+ * It will make sure that the act function is called and that the promises are flushed.
6
+ *
7
+ * @param callback The callback to render the hook.
8
+ * @param getMockedCompositionRoot A function that will return the mocked composition root.
9
+ * @returns { Promise<RenderHookResult> } The rendered hook.
10
+ */
11
+ export declare const reactHooksRenderHook: <TProps, TResult>(callback: (props: TProps) => TResult, getMockedCompositionRoot: (children: React.ReactElement) => React.ReactElement) => Promise<RenderHookResult<TResult, TProps>>;