chore: update jiti to v2 #5092
Annotations
18 errors
loadFreshModule › can load ESM user module › for .esm.js:
packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L75
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 2
Object {
+ "default": Object {
"birthYear": 1986,
"firstName": "Sebastien",
"lastName": "Lorber",
+ },
"someNamedExport": 42,
}
at toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:75:26)
at Object.<anonymous> (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:84:7)
|
loadFreshModule › can load ESM user module › for .esm.ts:
packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L75
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 2
Object {
+ "default": Object {
"birthYear": 1986,
"firstName": "Sebastien",
"lastName": "Lorber",
+ },
"someNamedExport": 42,
}
at toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:75:26)
at Object.<anonymous> (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:88:7)
|
loadFreshModule › can load ESM user module › for .mjs:
packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L75
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 2
Object {
+ "default": Object {
"birthYear": 1986,
"firstName": "Sebastien",
"lastName": "Lorber",
+ },
"someNamedExport": 42,
}
at toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:75:26)
at Object.<anonymous> (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:92:7)
|
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 + 2
Object {
+ "default": Object {
"dependency1": Object {
- "dep1Export": "dep1 val1",
"dep1Val": "dep1 val2",
},
"dependency2": Object {
"dep2Val": "dep2 val",
},
"someEntryValue": "entryVal",
+ },
}
at Object.toEqual (node_modules/expect/build/index.js:174:22)
at Object.toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:134:47)
|
CLI › general › help › docusaurus --help:
packages/docusaurus/src/server/configValidation.ts#L450
"baseUrl" is required
"title" is required
"url" is required
These field(s) ("default",) are not recognized in docusaurus.config.js.
If you still want these fields to be in your configuration, put them in the "customFields" field.
See https://docusaurus.io/docs/api/docusaurus-config/#customfields
at validateConfig (packages/docusaurus/src/server/configValidation.ts:450:11)
at loadSiteConfig (packages/docusaurus/src/server/config.ts:60:36)
at async Promise.all (index 1)
at loadContext (packages/docusaurus/src/server/site.ts:87:7)
at externalCommand (packages/docusaurus/src/commands/external.ts:23:19)
at createCLIProgram (packages/docusaurus/src/commands/cli.ts:277:5)
at testCommand (packages/docusaurus/src/commands/__tests__/cli.test.ts:38:15)
at Object.<anonymous> (packages/docusaurus/src/commands/__tests__/cli.test.ts:73:24)
|
CLI › general › help › docusaurus -h:
packages/docusaurus/src/server/configValidation.ts#L450
"baseUrl" is required
"title" is required
"url" is required
These field(s) ("default",) are not recognized in docusaurus.config.js.
If you still want these fields to be in your configuration, put them in the "customFields" field.
See https://docusaurus.io/docs/api/docusaurus-config/#customfields
at validateConfig (packages/docusaurus/src/server/configValidation.ts:450:11)
at loadSiteConfig (packages/docusaurus/src/server/config.ts:60:36)
at async Promise.all (index 1)
at loadContext (packages/docusaurus/src/server/site.ts:87:7)
at externalCommand (packages/docusaurus/src/commands/external.ts:23:19)
at createCLIProgram (packages/docusaurus/src/commands/cli.ts:277:5)
at testCommand (packages/docusaurus/src/commands/__tests__/cli.test.ts:38:15)
at Object.<anonymous> (packages/docusaurus/src/commands/__tests__/cli.test.ts:104:24)
|
CLI › general › version › docusaurus --version:
packages/docusaurus/src/server/configValidation.ts#L450
"baseUrl" is required
"title" is required
"url" is required
These field(s) ("default",) are not recognized in docusaurus.config.js.
If you still want these fields to be in your configuration, put them in the "customFields" field.
See https://docusaurus.io/docs/api/docusaurus-config/#customfields
at validateConfig (packages/docusaurus/src/server/configValidation.ts:450:11)
at loadSiteConfig (packages/docusaurus/src/server/config.ts:60:36)
at async Promise.all (index 1)
at loadContext (packages/docusaurus/src/server/site.ts:87:7)
at externalCommand (packages/docusaurus/src/commands/external.ts:23:19)
at createCLIProgram (packages/docusaurus/src/commands/cli.ts:277:5)
at testCommand (packages/docusaurus/src/commands/__tests__/cli.test.ts:38:15)
at Object.<anonymous> (packages/docusaurus/src/commands/__tests__/cli.test.ts:137:24)
|
CLI › general › version › docusaurus -V:
packages/docusaurus/src/server/configValidation.ts#L450
"baseUrl" is required
"title" is required
"url" is required
These field(s) ("default",) are not recognized in docusaurus.config.js.
If you still want these fields to be in your configuration, put them in the "customFields" field.
See https://docusaurus.io/docs/api/docusaurus-config/#customfields
at validateConfig (packages/docusaurus/src/server/configValidation.ts:450:11)
at loadSiteConfig (packages/docusaurus/src/server/config.ts:60:36)
at async Promise.all (index 1)
at loadContext (packages/docusaurus/src/server/site.ts:87:7)
at externalCommand (packages/docusaurus/src/commands/external.ts:23:19)
at createCLIProgram (packages/docusaurus/src/commands/cli.ts:277:5)
at testCommand (packages/docusaurus/src/commands/__tests__/cli.test.ts:38:15)
at Object.<anonymous> (packages/docusaurus/src/commands/__tests__/cli.test.ts:153:24)
|
CLI › general › errors › docusaurus:
packages/docusaurus/src/commands/__tests__/cli.test.ts#L173
expect(received).rejects.toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `CLI general errors docusaurus 1`
- Snapshot - 1
+ Received + 6
- "Missing Docusaurus CLI command."
+ ""baseUrl" is required
+ "title" is required
+ "url" is required
+ These field(s) ("default",) are not recognized in docusaurus.config.js.
+ If you still want these fields to be in your configuration, put them in the "customFields" field.
+ See https://docusaurus.io/docs/api/docusaurus-config/#customfields"
at Object.toThrowErrorMatchingInlineSnapshot (node_modules/expect/build/index.js:218:22)
at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus/src/commands/__tests__/cli.test.ts:173:19)
|
CLI › general › errors › docusaurus unknown:
packages/docusaurus/src/commands/__tests__/cli.test.ts#L181
expect(received).rejects.toThrowErrorMatchingInlineSnapshot(snapshot)
Snapshot name: `CLI general errors docusaurus unknown 1`
- Snapshot - 1
+ Received + 6
- "Unknown Docusaurus CLI command `unknown`"
+ ""baseUrl" is required
+ "title" is required
+ "url" is required
+ These field(s) ("default",) are not recognized in docusaurus.config.js.
+ If you still want these fields to be in your configuration, put them in the "customFields" field.
+ See https://docusaurus.io/docs/api/docusaurus-config/#customfields"
at Object.toThrowErrorMatchingInlineSnapshot (node_modules/expect/build/index.js:218:22)
at Object.toThrowErrorMatchingInlineSnapshot (packages/docusaurus/src/commands/__tests__/cli.test.ts:181:19)
|
Windows Tests (18.0)
The job was canceled because "_20" failed.
|
Windows Tests (18.0)
The operation was canceled.
|
Windows Tests (22)
The job was canceled because "_20" failed.
|
loadFreshModule › can load ESM user module › for .esm.js:
packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L75
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 2
Object {
+ "default": Object {
"birthYear": 1986,
"firstName": "Sebastien",
"lastName": "Lorber",
+ },
"someNamedExport": 42,
}
at toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:75:26)
at Object.<anonymous> (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:84:7)
|
loadFreshModule › can load ESM user module › for .esm.ts:
packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L75
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 2
Object {
+ "default": Object {
"birthYear": 1986,
"firstName": "Sebastien",
"lastName": "Lorber",
+ },
"someNamedExport": 42,
}
at toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:75:26)
at Object.<anonymous> (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:88:7)
|
loadFreshModule › can load ESM user module › for .mjs:
packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts#L75
expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 2
Object {
+ "default": Object {
"birthYear": 1986,
"firstName": "Sebastien",
"lastName": "Lorber",
+ },
"someNamedExport": 42,
}
at toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:75:26)
at Object.<anonymous> (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:92:7)
|
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 + 2
Object {
+ "default": Object {
"dependency1": Object {
- "dep1Export": "dep1 val1",
"dep1Val": "dep1 val2",
},
"dependency2": Object {
"dep2Val": "dep2 val",
},
"someEntryValue": "entryVal",
+ },
}
at Object.toEqual (node_modules/expect/build/index.js:174:22)
at Object.toEqual (packages/docusaurus-utils/src/__tests__/moduleUtils.test.ts:134:47)
|
Windows Tests (22)
The operation was canceled.
|