Skip to content

feat(svgr): create new Docusaurus SVGR plugin #5411

feat(svgr): create new Docusaurus SVGR plugin

feat(svgr): create new Docusaurus SVGR plugin #5411

Triggered via pull request November 14, 2024 15:42
Status Failure
Total duration 2m 43s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors
base webpack config › uses svg rule: packages/docusaurus/src/webpack/__tests__/base.test.ts#L148
expect(received).toBeDefined() Received: undefined at Object.toBeDefined (packages/docusaurus/src/webpack/__tests__/base.test.ts:148:21)
getFileLoaderUtils() › plugin svgo/removeViewBox and removeTitle should be disabled: packages/docusaurus-utils/src/__tests__/webpackUtils.test.ts#L12
TypeError: (0 , _webpackUtils.getFileLoaderUtils)(...).rules.svg is not a function at Object.svg (packages/docusaurus-utils/src/__tests__/webpackUtils.test.ts:12:48)
Tests (22)
Process completed with exit code 1.
Tests (20)
The job was canceled because "_22" failed.
base webpack config › uses svg rule: packages/docusaurus/src/webpack/__tests__/base.test.ts#L148
expect(received).toBeDefined() Received: undefined at Object.toBeDefined (packages/docusaurus/src/webpack/__tests__/base.test.ts:148:21)
getFileLoaderUtils() › plugin svgo/removeViewBox and removeTitle should be disabled: packages/docusaurus-utils/src/__tests__/webpackUtils.test.ts#L12
TypeError: (0 , _webpackUtils.getFileLoaderUtils)(...).rules.svg is not a function at Object.svg (packages/docusaurus-utils/src/__tests__/webpackUtils.test.ts:12:48)
Tests (20)
Process completed with exit code 1.
Tests (18.0)
The job was canceled because "_22" failed.
base webpack config › uses svg rule: packages/docusaurus/src/webpack/__tests__/base.test.ts#L148
expect(received).toBeDefined() Received: undefined at Object.toBeDefined (packages/docusaurus/src/webpack/__tests__/base.test.ts:148:21)
Tests (18.0)
The operation was canceled.