chore: update jiti to v2 #5093
Annotations
14 errors
docsVersion › works with custom i18n paths:
packages/docusaurus-plugin-content-docs/src/__tests__/cli.test.ts#L265
expect(received).toMatchSnapshot()
Snapshot name: `docsVersion works with custom i18n paths 1`
- Snapshot - 2
+ Received + 2
- [
{
+ "0": {
"dirName": ".",
"type": "autogenerated",
},
- ]
+ }
at Object.toMatchSnapshot (packages/docusaurus-plugin-content-docs/src/__tests__/cli.test.ts:265:30)
|
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)
|
loadPresets › esm form:
packages/docusaurus/src/server/plugins/presets.ts#L57
TypeError: presetFunction is not a function
at presetFunction (packages/docusaurus/src/server/plugins/presets.ts:57:12)
at async Promise.all (index 0)
at loadPresets (packages/docusaurus/src/server/plugins/presets.ts:60:25)
at Object.<anonymous> (packages/docusaurus/src/server/plugins/__tests__/presets.test.ts:51:21)
|
loadPresets › ts form:
packages/docusaurus/src/server/plugins/presets.ts#L57
TypeError: presetFunction is not a function
at presetFunction (packages/docusaurus/src/server/plugins/presets.ts:57:12)
at async Promise.all (index 0)
at loadPresets (packages/docusaurus/src/server/plugins/presets.ts:60:25)
at Object.<anonymous> (packages/docusaurus/src/server/plugins/__tests__/presets.test.ts:64:21)
|
webpack dev config › simple start:
packages/docusaurus/src/server/plugins/init.ts#L140
TypeError: normalizedPluginConfig.plugin is not a function
at plugin (packages/docusaurus/src/server/plugins/init.ts:140:57)
at async Promise.all (index 0)
at initPluginsConfigs (packages/docusaurus/src/server/plugins/init.ts:180:5)
at initPlugins (packages/docusaurus/src/server/plugins/init.ts:196:37)
at packages/docusaurus/src/server/plugins/plugins.ts:261:53
at loadSite (packages/docusaurus/src/server/site.ts:247:41)
at Object.<anonymous> (packages/docusaurus/src/webpack/__tests__/client.test.ts:26:21)
|
webpack dev config › simple build:
packages/docusaurus/src/server/plugins/init.ts#L140
TypeError: normalizedPluginConfig.plugin is not a function
at plugin (packages/docusaurus/src/server/plugins/init.ts:140:57)
at async Promise.all (index 0)
at initPluginsConfigs (packages/docusaurus/src/server/plugins/init.ts:180:5)
at initPlugins (packages/docusaurus/src/server/plugins/init.ts:196:37)
at packages/docusaurus/src/server/plugins/plugins.ts:261:53
at loadSite (packages/docusaurus/src/server/site.ts:247:41)
at Object.<anonymous> (packages/docusaurus/src/webpack/__tests__/client.test.ts:38:21)
|
webpack dev config › custom start:
packages/docusaurus/src/server/plugins/init.ts#L140
TypeError: normalizedPluginConfig.plugin is not a function
at plugin (packages/docusaurus/src/server/plugins/init.ts:140:57)
at async Promise.all (index 0)
at initPluginsConfigs (packages/docusaurus/src/server/plugins/init.ts:180:5)
at initPlugins (packages/docusaurus/src/server/plugins/init.ts:196:37)
at packages/docusaurus/src/server/plugins/plugins.ts:261:53
at loadSite (packages/docusaurus/src/server/site.ts:247:41)
at Object.<anonymous> (packages/docusaurus/src/webpack/__tests__/client.test.ts:50:21)
|
webpack dev config › custom build:
packages/docusaurus/src/server/plugins/init.ts#L140
TypeError: normalizedPluginConfig.plugin is not a function
at plugin (packages/docusaurus/src/server/plugins/init.ts:140:57)
at async Promise.all (index 0)
at initPluginsConfigs (packages/docusaurus/src/server/plugins/init.ts:180:5)
at initPlugins (packages/docusaurus/src/server/plugins/init.ts:196:37)
at packages/docusaurus/src/server/plugins/plugins.ts:261:53
at loadSite (packages/docusaurus/src/server/site.ts:247:41)
at Object.<anonymous> (packages/docusaurus/src/webpack/__tests__/client.test.ts:62:21)
|
webpack production config › simple:
packages/docusaurus/src/server/plugins/init.ts#L140
TypeError: normalizedPluginConfig.plugin is not a function
at plugin (packages/docusaurus/src/server/plugins/init.ts:140:57)
at async Promise.all (index 0)
at initPluginsConfigs (packages/docusaurus/src/server/plugins/init.ts:180:5)
at initPlugins (packages/docusaurus/src/server/plugins/init.ts:196:37)
at packages/docusaurus/src/server/plugins/plugins.ts:261:53
at loadSite (packages/docusaurus/src/server/site.ts:247:41)
at Object.<anonymous> (packages/docusaurus/src/webpack/__tests__/server.test.ts:25:21)
|
Windows Tests (20)
The job was canceled because "_18_0" failed.
|
Windows Tests (20)
The operation was canceled.
|
Windows Tests (22)
The job was canceled because "_18_0" failed.
|
Windows Tests (22)
The operation was canceled.
|