mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 04:05:22 -08:00
Compare commits
1 Commits
feature/63
...
copilot/in
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc794fdbe8 |
15
.github/instructions/test-reporter.instructions.md
vendored
Normal file
15
.github/instructions/test-reporter.instructions.md
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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.
|
||||||
@@ -32,6 +32,6 @@ describe('parseNetDuration', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('throws when string has invalid format', () => {
|
it('throws when string has invalid format', () => {
|
||||||
expect(() => parseNetDuration('12:34:56 not a duration')).toThrow(/^Invalid format/)
|
expect(() => parseNetDuration('12:34:56 not a duration')).toThrowError(/^Invalid format/)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
4871
package-lock.json
generated
4871
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -61,7 +61,8 @@
|
|||||||
"eslint-plugin-import": "^2.32.0",
|
"eslint-plugin-import": "^2.32.0",
|
||||||
"eslint-plugin-jest": "^28.14.0",
|
"eslint-plugin-jest": "^28.14.0",
|
||||||
"eslint-plugin-prettier": "^5.5.1",
|
"eslint-plugin-prettier": "^5.5.1",
|
||||||
"jest": "^30.0.4",
|
"jest": "^29.7.0",
|
||||||
|
"jest-circus": "^29.7.0",
|
||||||
"jest-junit": "^16.0.0",
|
"jest-junit": "^16.0.0",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user