refactor: move spec helpers to spec/lib (#37010)

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda 2023-01-25 22:01:25 +01:00 committed by GitHub
parent 355f322dbd
commit 4bc6b15f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 125 additions and 125 deletions

View file

@ -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;