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
|
@ -1615,7 +1615,7 @@ describe('webContents module', () => {
|
|||
response.end();
|
||||
break;
|
||||
default:
|
||||
done('unsupported endpoint');
|
||||
done(new Error('unsupported endpoint'));
|
||||
}
|
||||
});
|
||||
listen(server).then(({ url }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue