Search results

77 packages found

Throw a given error

published version 2.0.2, 4 years ago83 dependents licensed under $MIT
45,751,963

Make unhandled promise rejections fail loudly instead of the default silent fail

published version 2.2.0, 6 years ago356 dependents licensed under $MIT
18,185,280

Make unhandled promise rejections fail hard right away instead of the default silent fail

published version 2.1.0, 6 years ago579 dependents licensed under $MIT
45,014,524

Utility to make jest tests fail when console.error() or console.warn() are used

published version 3.3.1, 8 months ago13 dependents licensed under $MIT
1,839,710

Gets you the Cypress test command log as JSON on failure

published version 2.10.0, 3 years ago4 dependents licensed under $MIT
323,470

Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify

published version 1.1.1, 10 years ago7 dependents licensed under $MIT
139,691

Enable request retry for Popsicle

published version 4.1.0, 6 years ago1 dependents licensed under $Apache-2.0
116,559

Makes Jest throw on React prop-type failures

published version 1.1.0, 7 years ago10 dependents licensed under $MIT
78,011

A gulp plugin which forces a task to fail.

published version 2.0.0, 5 years ago1 dependents licensed under $MIT
62,040

make a CLI command always return an exit status of 0. This can be useful in combination with a `watch` process to ensure things keep running.

published version 1.0.1, 10 years ago2 dependents licensed under $ISC
22,031

Tiny package implementing multiple strategies to verify if an HTTP request was failed

published version 0.1.1, 10 years ago1 dependents licensed under $MIT
2,609

Error handling tools

published version 1.7.1, a year ago26 dependents licensed under $MIT
2,126

Bail after first test failure

published version 0.0.1, 12 years ago0 dependents licensed under $BSD
2,201

Lightweight assertion testing framework

published version 1.1.9, 5 months ago0 dependents licensed under $MIT
1,448

Tests will fail if they pass and pass if they fail

published version 1.1.7, 6 years ago1 dependents licensed under $MIT
1,216

A better way to handle errors in JavaScript and TypeScript. Handle async and sync errors without `try` and `catch` blocks.

published version 0.7.4, 3 months ago0 dependents licensed under $MIT
948

📼Supertape formatter shows only failed tests

published version 4.0.0, 2 months ago1 dependents licensed under $MIT
867

A simple function wrapper for ignoring errors thrown.

published version 0.2.21, 11 days ago0 dependents licensed under $BSD-2-Clause
195

Easily print a fail whale

published version 1.0.7, 4 years ago0 dependents licensed under $MIT
167

A synchronous Promise-like response object containing a resolved/rejected state and associated value

published version 1.0.5, 9 years ago1 dependents licensed under $MIT
125