mirror of
https://github.com/electron/electron.git
synced 2026-01-09 07:28:12 -05:00
refactor: move spec helpers to spec/lib (#37010)
Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user