Dependency Updates and ESM Migration #123387
Annotations
10 errors and 1 warning
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a te
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a te
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a te
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a te
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a te
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenFieldWithState", "
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenFieldWithState", "
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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
|
Running the tests:
packages/components/src/form-token-field/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 span
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token.tsx:23: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 UnconnectedFlexItem (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex-item/component.tsx:19:35)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenFieldWithState", "
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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 up
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a test was not wrapped in act(...).·
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31:2)"],["Warning: An update to %s inside a te
|
Running the tests:
packages/components/src/form-token-field/test/index.tsx#L23
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", "ForwardRef(UnForwardedTokenInput)", "
at value (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/token-input.tsx:23:3)
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 UnconnectedFlex (/home/runner/work/gutenberg/gutenberg/packages/components/src/flex/flex/component.tsx:20:55)
at /home/runner/work/gutenberg/gutenberg/node_modules/@emotion/react/dist/emotion-element-25f9958c.browser.cjs.js:56:23
at div
at div
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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", "FormTokenField", "
at FormTokenField (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/index.tsx:80:38)
at FormTokenField
at onChange (/home/runner/work/gutenberg/gutenberg/packages/components/src/form-token-field/test/index.tsx:31: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.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:281:40)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:254:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/w
|
Setup Node.js and install dependencies
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Loading