Skip to content

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

feat(svgr): create new Docusaurus SVGR plugin

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

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

tests.yml

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

Annotations

11 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 (20)
Process completed with exit code 1.
Tests (22)
The job was canceled because "_20" 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 (22)
The operation was canceled.
Tests (18.0)
The job was canceled because "_20" 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 (18.0)
The operation was canceled.