mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
test: convert a few more specs to async/await (#40313)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user