Dependency Updates and ESM Migration #123464
Annotations
10 errors and 1 warning
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Promise.then.complete
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the be
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the be
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the be
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the be
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:212:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the be
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:333:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:333:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:333:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the be
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L225
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:333:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorScreen", "
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:333:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorBackButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-back-button/component.tsx:19:57)
at onClick (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:132:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:333:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're t
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L18
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorBackButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-back-button/component.tsx:19:57)
at UnconnectedNavigatorToParentButton
at onClick (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:153:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:405:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:405:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runne
|
Running the tests:
packages/components/src/navigator/test/index.tsx#L225
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "NavigatorProvider", "
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:405:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-button/component.tsx:19:49)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:70:2)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at path (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-screen/component.tsx:37:27)
at div
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigator (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator/component.tsx:225:22)
at initialPath (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:405:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
When testing, code that causes React state updates should be wrapped into act(...):·
act(() => {
/* fire events that update state */
});
/* assert on the output */·
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act%s", "TooltipAnchor2", "
at /home/runner/work/gutenberg/gutenberg/node_modules/@ariakit/react-core/cjs/__chunks/6TI3NXX6.cjs:18:49
at children (/home/runner/work/gutenberg/gutenberg/packages/components/src/tooltip/index.tsx:48:3)
at useDeprecatedProps (/home/runner/work/gutenberg/gutenberg/packages/components/src/button/index.tsx:116:6)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at as (/home/runner/work/gutenberg/gutenberg/packages/components/src/view/component.tsx:19:4)
at UnconnectedNavigatorBackButton (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/navigator-back-button/component.tsx:19:57)
at UnconnectedNavigatorToParentButton
at onClick (/home/runner/work/gutenberg/gutenberg/packages/components/src/navigator/test/index.tsx:153:2)
at div
at /home/runne
|
Setup Node.js and install dependencies
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Loading