Skip to content

feat(theme): new CSS cascade layers plugin + built-in v4.useCssCascadeLayers future flag #5845

feat(theme): new CSS cascade layers plugin + built-in v4.useCssCascadeLayers future flag

feat(theme): new CSS cascade layers plugin + built-in v4.useCssCascadeLayers future flag #5845

Triggered via pull request May 22, 2025 12:39
Status Failure
Total duration 3m 5s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

tests.yml

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

Annotations

25 errors
validateOptions › throws for empty trackingID arrays: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L128
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for empty trackingID arrays 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:128:7)
validateOptions › accepts multiple trackingIDs: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › accepts single trackingID: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › accepts anonymizeIP: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › accepts minimal config: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › throws for empty trackingID: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L88
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for empty trackingID 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:88:7)
validateOptions › throws for number trackingID: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L81
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for number trackingID 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:81:7)
validateOptions › throws for null trackingID: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L73
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for null trackingID 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:73:7)
validateOptions › throws for empty object options: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L59
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Received function did not throw at _toThrowErrorMatchingSnapshot (node_modules/jest-snapshot/build/index.js:576:11) at __EXTERNAL_MATCHER_TRAP__ (node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toThrowErrorMatchingInlineSnapshot] (node_modules/expect/build/index.js:326:15) at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:59:7)
validateOptions › throws for undefined options: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L45
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Received function did not throw at _toThrowErrorMatchingSnapshot (node_modules/jest-snapshot/build/index.js:576:11) at __EXTERNAL_MATCHER_TRAP__ (node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toThrowErrorMatchingInlineSnapshot] (node_modules/expect/build/index.js:326:15) at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:45:7)
validateOptions › throws for empty trackingID arrays: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L128
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for empty trackingID arrays 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:128:7)
validateOptions › accepts multiple trackingIDs: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › accepts single trackingID: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › accepts anonymizeIP: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › accepts minimal config: undefined#L0
ValidationError: "trackingID" is not allowed
validateOptions › throws for empty trackingID: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L88
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for empty trackingID 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:88:7)
validateOptions › throws for number trackingID: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L81
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for number trackingID 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:81:7)
validateOptions › throws for null trackingID: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L73
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `validateOptions throws for null trackingID 1` - Snapshot - 1 + Received + 1 - ""trackingID" does not match any of the allowed types" + ""trackingID" is not allowed" at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:73:7)
validateOptions › throws for empty object options: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L59
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Received function did not throw at _toThrowErrorMatchingSnapshot (node_modules/jest-snapshot/build/index.js:576:11) at __EXTERNAL_MATCHER_TRAP__ (node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toThrowErrorMatchingInlineSnapshot] (node_modules/expect/build/index.js:326:15) at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:59:7)
validateOptions › throws for undefined options: packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts#L45
expect(received).toThrowErrorMatchingInlineSnapshot(snapshot) Received function did not throw at _toThrowErrorMatchingSnapshot (node_modules/jest-snapshot/build/index.js:576:11) at __EXTERNAL_MATCHER_TRAP__ (node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toThrowErrorMatchingInlineSnapshot] (node_modules/expect/build/index.js:326:15) at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-plugin-css-cascade-layers/src/__tests__/options.test.ts:45:7)
Tests (22)
The strategy configuration was canceled because "test._24" failed
Tests (18.0)
The operation was canceled.
Tests (18.0)
The strategy configuration was canceled because "test._24" failed
Tests (20)
The operation was canceled.
Tests (20)
The strategy configuration was canceled because "test._24" failed