chore: update jiti to v2 #5444
Annotations
11 errors
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Test:
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)
|
Loading