Skip to content

Commit 4a682ec

Browse files
fixup!: test-case descriptions
1 parent b8b5c6c commit 4a682ec

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test/fixtures/test-runner/output/describe_it.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,23 @@ const { describe, it, test } = require('node:test');
55
const util = require('util');
66

77

8-
it.xfail('sync expect fail', () => {
8+
it.xfail('sync expect fail (method)', () => {
99
throw new Error('should pass');
1010
});
1111

12-
it('sync expect fail', { xfail: true }, () => {
12+
it('sync expect fail (options)', { xfail: true }, () => {
1313
throw new Error('should pass');
1414
});
1515

16-
it.xfail('sync expect fail', async () => {
16+
it.xfail('async expect fail (method)', async () => {
1717
throw new Error('should pass');
1818
});
1919

20-
it('sync expect fail', { xfail: true }, async () => {
20+
it('async expect fail (options)', { xfail: true }, async () => {
2121
throw new Error('should pass');
2222
});
2323

2424
it.todo('sync pass todo', () => {
25-
2625
});
2726

2827
it('sync pass todo with message', { todo: 'this is a passing todo' }, () => {

0 commit comments

Comments
 (0)