Skip to content

chore: update jiti to v2 #5446

chore: update jiti to v2

chore: update jiti to v2 #5446

Triggered via pull request November 23, 2024 05:39
Status Failure
Total duration 3m 39s
Artifacts

tests.yml

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

Annotations

9 errors
Tests (18.0)
Process completed with exit code 1.
Tests (22)
The job was canceled because "_18_0" failed.
loadFreshModule › module graph › can load and reload fresh module graph: packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L134
expect(received).resolves.toEqual(expected) // deep equality - Expected - 1 + Received + 0 @@ -1,8 +1,7 @@ Object { "dependency1": Object { - "dep1Export": "dep1 val1", "dep1Val": "dep1 val2", }, "dependency2": Object { "dep2Val": "dep2 val", }, at Object.toEqual (node_modules/expect/build/index.js:174:22) at Object.toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:134:47)
loadFreshModule › invalid module path param › throws if module path does not exist: packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L243
expect(received).rejects.toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `loadFreshModule invalid module path param throws if module path does not exist 1` - Snapshot - 1 + Received + 1 "Docusaurus could not load module at path "/some/unknown/module/path.js" - Cause: Cannot find module '/some/unknown/module/path.js' from 'packages/docusaurus-utils/src/moduleUtils.ts'" + Cause: Cannot find module '/some/unknown/module/path.js' from 'packages/docusaurus-utils/src/_index.js'" at Object.toThrowErrorMatchingInlineSnapshot (node_modules/expect/build/index.js:218:22) at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:243:18)
Tests (22)
The operation was canceled.
Tests (20)
The job was canceled because "_18_0" failed.
loadFreshModule › module graph › can load and reload fresh module graph: packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L134
expect(received).resolves.toEqual(expected) // deep equality - Expected - 1 + Received + 0 @@ -1,8 +1,7 @@ Object { "dependency1": Object { - "dep1Export": "dep1 val1", "dep1Val": "dep1 val2", }, "dependency2": Object { "dep2Val": "dep2 val", }, at Object.toEqual (node_modules/expect/build/index.js:174:22) at Object.toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:134:47)
loadFreshModule › invalid module path param › throws if module path does not exist: packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L243
expect(received).rejects.toThrowErrorMatchingInlineSnapshot(snapshot) Snapshot name: `loadFreshModule invalid module path param throws if module path does not exist 1` - Snapshot - 1 + Received + 1 "Docusaurus could not load module at path "/some/unknown/module/path.js" - Cause: Cannot find module '/some/unknown/module/path.js' from 'packages/docusaurus-utils/src/moduleUtils.ts'" + Cause: Cannot find module '/some/unknown/module/path.js' from 'packages/docusaurus-utils/src/_index.js'" at Object.toThrowErrorMatchingInlineSnapshot (node_modules/expect/build/index.js:218:22) at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:243:18)
Tests (20)
The operation was canceled.