Compare commits

..

2 Commits

Author SHA1 Message Date
Jozef Izso
9c4a54379f Upgrade jest to v30
Update `jest` package to v30.0.4
2025-07-09 14:16:56 +02:00
Jozef Izso
4d84da17a1 Upgrade jest to v30 2025-06-29 16:55:36 +02:00
4 changed files with 3857 additions and 1052 deletions

View File

@@ -1,15 +0,0 @@
---
applyTo: '**'
---
Instructions:
- Ensure Node.js 20 is installed and used for all development and CI tasks.
- Do not update the Node.js runtime to versions newer than 20.
- Install all dependencies using `npm install`.
- Use TypeScript for all source code; ensure `tsconfig.json` is present and configured.
- Use `npm test` to run tests; ensure all tests pass before committing changes.
- Validate changes by running `npm run all` before submitting pull requests or merging.
- This project is a GitHub Actions action; ensure compatibility with GitHub Actions workflows.
- After validating changes, create a new commit with the `dist/` directory included.
- Document any changes to the action's inputs, outputs, or behavior in the README.

View File

@@ -32,6 +32,6 @@ describe('parseNetDuration', () => {
})
it('throws when string has invalid format', () => {
expect(() => parseNetDuration('12:34:56 not a duration')).toThrowError(/^Invalid format/)
expect(() => parseNetDuration('12:34:56 not a duration')).toThrow(/^Invalid format/)
})
})

4889
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -61,8 +61,7 @@
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-prettier": "^5.5.1",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"jest": "^30.0.4",
"jest-junit": "^16.0.0",
"js-yaml": "^4.1.0",
"prettier": "^3.6.2",