refactor: move spec helpers to spec/lib (#37010)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
355f322dbd
commit
4bc6b15f53
63 changed files with 125 additions and 125 deletions
|
@ -6,10 +6,10 @@ import * as url from 'url';
|
|||
|
||||
import { BrowserWindow, WebPreferences } from 'electron/main';
|
||||
|
||||
import { closeWindow } from './window-helpers';
|
||||
import { closeWindow } from './lib/window-helpers';
|
||||
import { AddressInfo } from 'net';
|
||||
import { emittedUntil } from './events-helpers';
|
||||
import { delay } from './spec-helpers';
|
||||
import { emittedUntil } from './lib/events-helpers';
|
||||
import { delay } from './lib/spec-helpers';
|
||||
|
||||
const messageContainsSecurityWarning = (event: Event, level: number, message: string) => {
|
||||
return message.indexOf('Electron Security Warning') > -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue