test: convert a few more specs to async/await (#40313)
This commit is contained in:
parent
471449d9f6
commit
67894f1493
8 changed files with 48 additions and 61 deletions
|
@ -873,7 +873,7 @@ describe('node feature', () => {
|
|||
});
|
||||
};
|
||||
|
||||
process.once('unhandledRejection', () => done('catch block is delayed to next tick'));
|
||||
process.once('unhandledRejection', () => done(new Error('catch block is delayed to next tick')));
|
||||
|
||||
setTimeout(() => {
|
||||
f3().catch(() => done());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue