1.0.7 • Published 3 years ago

fast-fail v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

fast-fail

Install with:

npm i fast-fail

A wrapper around the native Node.js test module that fails entirely after the first failure.

import test from 'fast-fail';

test('evil test >:)', () => {
  throw new Error('I will make this test fail >:)');
}); // This (obviously) fails.

test('the victim', () => {
  console.log('Oh nooo :(');
}); // This fails as well.

Caveats:

  • Requires an ESM module and Node.js v18 or newer.
  • Does not provide additional options as arguments.
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago