Skip to content

Commit a8c7693

Browse files
chore(deps): update vitest monorepo to v3 (major) (#64)
* chore(deps): update vitest monorepo to v3 * chore: update snapshots --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: dangreen <[email protected]>
1 parent d14c94b commit a8c7693

File tree

3 files changed

+374
-573
lines changed

3 files changed

+374
-573
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@trigen/eslint-config": "8.0.0-alpha.33",
3737
"@trigen/scripts": "8.0.0-alpha.33",
3838
"@types/node": "^20.0.0",
39-
"@vitest/coverage-v8": "^0.34.4",
39+
"@vitest/coverage-v8": "^3.0.0",
4040
"clean-publish": "^5.0.0",
4141
"commitizen": "^4.2.4",
4242
"del-cli": "^6.0.0",
@@ -45,6 +45,6 @@
4545
"simple-git-hooks": "^2.7.0",
4646
"typescript": "5.2.2",
4747
"vite": "^6.0.0",
48-
"vitest": "^0.34.4"
48+
"vitest": "^3.0.0"
4949
}
5050
}

packages/simple-github-release/src/changelog.spec.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,23 @@ describe('changelog', () => {
6868
const stream = fs.createReadStream(path.join(mocks, 'CHANGELOG_2.md'))
6969

7070
expect(await readLastChangesFromStream(stream)).toMatchInlineSnapshot(`
71-
[
72-
"1.0.0",
73-
"### Added
74-
- Version navigation.
75-
- Links to latest released version in previous versions.
76-
- \\"Why keep a changelog?\\" section.
77-
78-
### Changed
79-
- Start using \\"changelog\\" over \\"change log\\" since it's the common usage.
80-
- Start versioning based on the current English version at 0.3.0 to help
81-
translation authors keep things up-to-date.
82-
83-
### Removed
84-
- Section about \\"changelog\\" vs \\"CHANGELOG\\".
85-
",
86-
]
87-
`)
71+
[
72+
"1.0.0",
73+
"### Added
74+
- Version navigation.
75+
- Links to latest released version in previous versions.
76+
- "Why keep a changelog?" section.
77+
78+
### Changed
79+
- Start using "changelog" over "change log" since it's the common usage.
80+
- Start versioning based on the current English version at 0.3.0 to help
81+
translation authors keep things up-to-date.
82+
83+
### Removed
84+
- Section about "changelog" vs "CHANGELOG".
85+
",
86+
]
87+
`)
8888
})
8989
})
9090
})

0 commit comments

Comments
 (0)