chore(deps): upgrade jest to v30

Bump jest ^29.5.0 -> ^30.4.2, @types/jest ^29.5.14 -> ^30.0.0, and
ts-jest ^29.4.6 -> ^29.4.11.

@types/jest@30 removes the deprecated `toThrowError` matcher type, so
migrate every `.toThrowError()` assertion to `.toThrow()`.
This commit is contained in:
Damien Retzinger
2026-06-09 17:30:16 -04:00
parent 0a33911be4
commit 8a6a886d7e
14 changed files with 1596 additions and 889 deletions
@@ -9,7 +9,7 @@ describe('getIndividialVersionsForProject', () => {
})
it('throws error if no individual versions are specified for given project', () => {
expect(() => getIndividualVersionsForProject(<Project>"ahsoka")).toThrowError()
expect(() => getIndividualVersionsForProject(<Project>"ahsoka")).toThrow()
})
})
@@ -21,6 +21,6 @@ describe('getCompositeVersionsForProject', () => {
})
it('throws error if no composite versions are specified for given project', () => {
expect(() => getCompositeVersionsForProject(<Project>"spock")).toThrowError()
expect(() => getCompositeVersionsForProject(<Project>"spock")).toThrow()
})
})