• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1const { describe, test } = require('node:test');
2
3describe('suite should pass', () => {
4  test.todo('should fail without harming suite', () => {
5    throw new Error('Fail but not badly')
6  });
7});
8
9test.todo('should fail without effecting exit code', () => {
10  throw new Error('Fail but not badly')
11});
12
13test('empty string todo', { todo: '' }, () => {
14  throw new Error('Fail but not badly')
15});
16