feat: added Check for embedded CSS and the correct stylesheet in Typescript files #3661
Annotations
2 errors and 1 warning
Run Vitest Tests:
src/screens/OrganizationVenues/OrganizationVenues.spec.tsx#L498
TypeError: MutationObserver is not a constructor
❯ node_modules/@testing-library/dom/dist/wait-for.js:95:18
❯ waitFor node_modules/@testing-library/dom/dist/wait-for.js:36:10
❯ node_modules/@testing-library/dom/dist/wait-for.js:164:54
❯ Object.asyncWrapper node_modules/@testing-library/react/dist/pure.js:88:28
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:164:35
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/screens/OrganizationVenues/OrganizationVenues.spec.tsx:498:21
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77
This error originated in "src/screens/OrganizationVenues/OrganizationVenues.spec.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
Run Vitest Tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading