mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
[@types/jest] Update jest.fail return type from void to never. (#31745)
* Update `jest.fail` return type from `void` to `never`. This should never return, right? * Revert unrelated change
This commit is contained in:
committed by
Wesley Wigham
parent
df309e0eb0
commit
d77cdfe11e
Vendored
+1
-1
@@ -981,7 +981,7 @@ declare function pending(reason?: string): void;
|
||||
/**
|
||||
* Fails a test when called within one.
|
||||
*/
|
||||
declare function fail(error?: any): void;
|
||||
declare function fail(error?: any): never;
|
||||
declare namespace jasmine {
|
||||
let DEFAULT_TIMEOUT_INTERVAL: number;
|
||||
function clock(): Clock;
|
||||
|
||||
Reference in New Issue
Block a user