Skip to content

Replace intl.formatNumber with component for consistency #1649

Replace intl.formatNumber with component for consistency

Replace intl.formatNumber with component for consistency #1649

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Jest Unit Test Results failed Oct 16, 2023 in 0s

2 fail, 1 skipped, 157 pass in 1m 59s

    1 files  ±0    25 suites  ±0   1m 59s ⏱️ +18s
160 tests ±0  157 ✔️  - 2  1 💤 ±0  2 +2 
163 runs  ±0  160 ✔️  - 2  1 💤 ±0  2 +2 

Results for commit a6037d8. ± Comparison against earlier commit dc3b22f.

Annotations

Check warning on line 0 in Logs should fetch logs

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

Logs should fetch logs (Logs should fetch logs) failed

artifacts/jest-junit/junit.xml
Raw output
Error: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.
    at invariant (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@formatjs/ecma402-abstract/utils.js:87:15)
    at invariantIntlContext (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-intl/src/utils.js:9:38)
    at useIntl (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-intl/src/components/useIntl.js:9:38)
    at Component (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-intl/src/components/createFormattedComponent.js:54:42)
    at renderWithHooks (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at performSyncWorkOnRoot (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
    at flushSyncCallbacks (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
    at Object.render (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/dist/pure.js:101:25
    at act (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react/cjs/react.development.js:2512:16)
    at render (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/dist/pure.js:97:26)
    at renderBulkEditLogs (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/components/BulkEditLogs/BulkEditLogs.test.js:22:9)
    at Object.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/components/BulkEditLogs/BulkEditLogs.test.js:39:5)
    at Object.asyncJestTest (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:75:41

Check warning on line 0 in Logs should render the logs table with correct columns

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

Logs should render the logs table with correct columns (Logs should render the logs table with correct columns) failed

artifacts/jest-junit/junit.xml
Raw output
Error: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.
    at invariant (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@formatjs/ecma402-abstract/utils.js:87:15)
    at invariantIntlContext (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-intl/src/utils.js:9:38)
    at useIntl (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-intl/src/components/useIntl.js:9:38)
    at Component (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-intl/src/components/createFormattedComponent.js:54:42)
    at renderWithHooks (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at performSyncWorkOnRoot (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
    at flushSyncCallbacks (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
    at Object.render (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/dist/pure.js:101:25
    at act (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/react/cjs/react.development.js:2512:16)
    at render (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@testing-library/react/dist/pure.js:97:26)
    at renderBulkEditLogs (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/components/BulkEditLogs/BulkEditLogs.test.js:22:9)
    at _callee$ (/home/runner/work/ui-bulk-edit/ui-bulk-edit/src/components/BulkEditLogs/BulkEditLogs.test.js:45:5)
    at tryCatch (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)
    at Object.asyncJestTest (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/ui-bulk-edit/ui-bulk-edit/node_modules/jest-jasmine2/build/queueRunner.js:75:41