Update index.test-d.ts
This commit is contained in:
parent
c1cf4c72df
commit
03431ca906
|
@ -16,6 +16,9 @@ pTimeout(delayedPromise(), {milliseconds: 50}).then(value => {
|
|||
pTimeout(delayedPromise(), {milliseconds: 50, message: 'error'}).then(value => {
|
||||
expectType<string>(value);
|
||||
});
|
||||
pTimeout(delayedPromise(), {milliseconds: 50, message: false}).then(value => {
|
||||
expectType<string>(value);
|
||||
});
|
||||
pTimeout(delayedPromise(), {milliseconds: 50, message: new Error('error')}).then(value => {
|
||||
expectType<string>(value);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue