refactor!: mv data processing to vite side #684
Annotations
8 errors
packages/vitepress-plugin-git-changelog/src/vite/helpers.test.ts#L219
AssertionError: expected [ { name: 'First Last', …(2) } ] to deeply equal [ { name: 'First Last', …(1) } ]
- Expected
+ Received
Array [
Object {
+ "avatarUrl": "https://gravatar.com/avatar/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?d=retro",
"email": "[email protected]",
"name": "First Last",
},
]
❯ src/vite/helpers.test.ts:219:21
|
packages/vitepress-plugin-git-changelog/src/vite/helpers.test.ts#L234
AssertionError: expected [ { name: 'First Last', …(2) }, …(1) ] to deeply equal [ { name: 'First Last', …(1) }, …(1) ]
- Expected
+ Received
Array [
Object {
+ "avatarUrl": "https://gravatar.com/avatar/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?d=retro",
"email": "[email protected]",
"name": "First Last",
},
Object {
+ "avatarUrl": "https://gravatar.com/avatar/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?d=retro",
"email": "[email protected]",
"name": "First Last2",
},
]
❯ src/vite/helpers.test.ts:234:21
|
packages/vitepress-plugin-git-changelog/src/vite/helpers.test.ts#L426
AssertionError: expected 'https://gravatar.com/avatar/b4c9a2893…' to deeply equal 'https://example.com/avatar.png'
- Expected
+ Received
- https://example.com/avatar.png
+ https://gravatar.com/avatar/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?d=retro
❯ src/vite/helpers.test.ts:426:20
|
packages/vitepress-plugin-git-changelog/src/vite/helpers.ts#L361
TypeError: Cannot read properties of undefined (reading 'match')
❯ src/vite/helpers.ts:361:27
❯ parseCommitAuthors src/vite/helpers.ts:361:6
❯ src/vite/helpers.ts:337:27
❯ Module.parseCommits src/vite/helpers.ts:304:27
❯ src/vite/helpers.test.ts:450:20
|
packages/vitepress-plugin-git-changelog/src/vite/helpers.ts#L304
TypeError: rawCommits.map is not a function
❯ Module.parseCommits src/vite/helpers.ts:304:56
❯ src/vite/helpers.test.ts:482:26
|
packages/vitepress-plugin-git-changelog/src/vite/helpers.ts#L304
TypeError: rawCommits.map is not a function
❯ Module.parseCommits src/vite/helpers.ts:304:56
❯ src/vite/helpers.test.ts:511:26
|
packages/vitepress-plugin-git-changelog/src/vite/helpers.ts#L304
TypeError: rawCommits.map is not a function
❯ Module.parseCommits src/vite/helpers.ts:304:56
❯ src/vite/helpers.test.ts:543:26
|
|
This job failed
Loading