chore(tests): allow usage of deprecated APIs in tests (#13659)

This commit is contained in:
Alexey Kuzmin 2018-07-29 18:27:58 -07:00 committed by Samuel Attard
parent c2218cc414
commit 69f6bd921b
2 changed files with 4 additions and 4 deletions

View file

@ -10,8 +10,8 @@
<script type="text/javascript" charset="utf-8">
(function() {
// Disable use of deprecated functions.
process.throwDeprecation = true
// Deprecated APIs are still supported and should be tested.
process.throwDeprecation = false
const path = require('path')
const electron = require('electron')

View file

@ -1,5 +1,5 @@
// Disable use of deprecated functions.
process.throwDeprecation = true
// Deprecated APIs are still supported and should be tested.
process.throwDeprecation = false
const electron = require('electron')
const {app, BrowserWindow, crashReporter, dialog, ipcMain, protocol, webContents} = electron