Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [^18.18, ^20.8, ^22, ^24]
node-version: [^18.18, ^20.8, ^22, ^24, ^25]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"type": "module",
"engines": {
"node": "^18.18 || ^20.8 || ^22 || ^23 || >=24"
"node": "^18.18 || ^20.8 || ^22 || ^23 || ^24 || >=25"
},
"scripts": {
"test": "./scripts/test.sh"
Expand Down
59 changes: 59 additions & 0 deletions test-tap/reporters/default.edgecases.v25.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@

---tty-stream-chunk-separator
⚠ Could not parse ast-syntax-error.cjs for line number selection

SyntaxError: Unexpected token (3:11)

---tty-stream-chunk-separator
Uncaught exception in ast-syntax-error.cjs

~/test-tap/fixture/report/edgecases/ast-syntax-error.cjs:3
const fn = do {
^^

SyntaxError: Unexpected token 'do'

---tty-stream-chunk-separator
✘ ast-syntax-error.cjs exited with a non-zero exit code: 1
---tty-stream-chunk-separator
✘ No tests found in ava-import-no-test-declaration.cjs
---tty-stream-chunk-separator

Uncaught exception in import-and-use-test-member.cjs

import-and-use-test-member.cjs:3

2:
 3: test('pass', t => t.pass());
4:

TypeError: test is not a function

› Object.<anonymous> (test-tap/fixture/report/edgecases/import-and-use-test-member.cjs:3:1)

---tty-stream-chunk-separator
✘ import-and-use-test-member.cjs exited with a non-zero exit code: 1
---tty-stream-chunk-separator
✘ No tests found in no-ava-import.cjs, make sure to import "ava" at the top of your test file
---tty-stream-chunk-separator
✘ Line numbers for test.cjs did not match any tests
---tty-stream-chunk-separator

Uncaught exception in throws.cjs

throws.cjs:1

 1: throw new Error('throws');
2:

Error: throws

› Object.<anonymous> (test-tap/fixture/report/edgecases/throws.cjs:1:7)

---tty-stream-chunk-separator
✘ throws.cjs exited with a non-zero exit code: 1
---tty-stream-chunk-separator
─

3 uncaught exceptions
---tty-stream-chunk-separator
24 changes: 24 additions & 0 deletions test-tap/reporters/default.failfast.v25.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

---tty-stream-chunk-separator
✘ [fail]: a › fails Test failed via `t.fail()`
---tty-stream-chunk-separator
─

a › fails

a.cjs:3

2:
 3: test('fails', t => t.fail());
4:

Test failed via `t.fail()`

› test-tap/fixture/report/failfast/a.cjs:3:22

─

`--fail-fast` is on. 1 test file was skipped.

1 test failed
---tty-stream-chunk-separator
24 changes: 24 additions & 0 deletions test-tap/reporters/default.failfast2.v25.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

---tty-stream-chunk-separator
✘ [fail]: a › fails Test failed via `t.fail()`
---tty-stream-chunk-separator
─

a › fails

a.cjs:3

2:
 3: test('fails', t => t.fail()); 
4: test('passes', t => t.pass());

Test failed via `t.fail()`

› test-tap/fixture/report/failfast2/a.cjs:3:22

─

`--fail-fast` is on. At least 1 test was skipped, as well as 1 test file.

1 test failed
---tty-stream-chunk-separator
10 changes: 10 additions & 0 deletions test-tap/reporters/default.only.v25.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

---tty-stream-chunk-separator
✔ a › only
---tty-stream-chunk-separator
✔ b › passes
---tty-stream-chunk-separator
─

2 tests passed
---tty-stream-chunk-separator
Loading