@trackunit/react-core-contexts-test 0.1.298 → 0.1.300
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/HookRenderer.cjs.js +1 -1
- package/HookRenderer.esm.js +1 -1
- package/index.cjs.js +0 -1
- package/index.esm.js +0 -1
- package/package.json +1 -1
package/HookRenderer.cjs.js
CHANGED
|
@@ -32,7 +32,7 @@ const reactHooksRenderHook = async (callback, getMockedCompositionRoot) => {
|
|
|
32
32
|
};
|
|
33
33
|
let renderedHook;
|
|
34
34
|
// This is added here to make storybook work and to ensure the right act is loaded for hooks.
|
|
35
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
35
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
|
|
36
36
|
await react.act(async () => {
|
|
37
37
|
renderedHook = await react.renderHook(callback, { wrapper });
|
|
38
38
|
});
|
package/HookRenderer.esm.js
CHANGED
|
@@ -30,7 +30,7 @@ const reactHooksRenderHook = async (callback, getMockedCompositionRoot) => {
|
|
|
30
30
|
};
|
|
31
31
|
let renderedHook;
|
|
32
32
|
// This is added here to make storybook work and to ensure the right act is loaded for hooks.
|
|
33
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
|
|
34
34
|
await act(async () => {
|
|
35
35
|
renderedHook = await renderHook(callback, { wrapper });
|
|
36
36
|
});
|
package/index.cjs.js
CHANGED
package/index.esm.js
CHANGED