spec: fix dirtyChai spec failures (#19652)

This commit is contained in:
Shelley Vohr 2019-08-06 10:27:33 -07:00 committed by GitHub
parent c3d0fed9ed
commit da2401ff39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 4 deletions

View file

@ -1,10 +1,14 @@
import { expect } from 'chai'
import * as chai from 'chai'
import dirtyChai = require('dirty-chai')
import * as ChildProcess from 'child_process'
import * as path from 'path'
import { emittedOnce } from './events-helpers'
import { BrowserView, BrowserWindow } from 'electron'
import { closeWindow } from './window-helpers';
const { expect } = chai
chai.use(dirtyChai)
describe('BrowserView module', () => {
const fixtures = path.resolve(__dirname, '..', 'spec', 'fixtures')