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
|
@ -8,7 +8,6 @@ import * as fs from 'node:fs';
|
|||
import * as url from 'node:url';
|
||||
import * as ChildProcess from 'node:child_process';
|
||||
import { EventEmitter, once } from 'node:events';
|
||||
import { promisify } from 'node:util';
|
||||
import { ifit, ifdescribe, defer, itremote, listen } from './lib/spec-helpers';
|
||||
import { PipeTransport } from './pipe-transport';
|
||||
import * as ws from 'ws';
|
||||
|
@ -2514,7 +2513,7 @@ describe('font fallback', () => {
|
|||
});
|
||||
|
||||
describe('iframe using HTML fullscreen API while window is OS-fullscreened', () => {
|
||||
const fullscreenChildHtml = promisify(fs.readFile)(
|
||||
const fullscreenChildHtml = fs.promises.readFile(
|
||||
path.join(fixturesPath, 'pages', 'fullscreen-oopif.html')
|
||||
);
|
||||
let w: BrowserWindow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue