PR-URL: https://github.com/nodejs/node/pull/48929 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
15 lines
396 B
JavaScript
15 lines
396 B
JavaScript
const { describe, test } = require('node:test');
|
|
|
|
describe('suite should pass', () => {
|
|
test.todo('should fail without harming suite', () => {
|
|
throw new Error('Fail but not badly')
|
|
});
|
|
});
|
|
|
|
test.todo('should fail without effecting exit code', () => {
|
|
throw new Error('Fail but not badly')
|
|
});
|
|
|
|
test('empty string todo', { todo: '' }, () => {
|
|
throw new Error('Fail but not badly')
|
|
});
|