eslint-migration - disable warnings/errors

Disable warnings and errors on initial code
empty functions/require
remove transations stub from spec test
This commit is contained in:
Yuri Cherepanov
2019-11-18 01:24:07 +02:00
parent 3c1f9f6caa
commit 99e7ec00bf
9 changed files with 17 additions and 16 deletions

View File

@@ -1,8 +1,11 @@
/* eslint "@typescript-eslint/no-var-requires": 0 */
const Application = require('spectron').Application;
/* eslint "@typescript-eslint/no-var-requires": 0 */
const electronPath = require('electron'); // Require Electron from the binaries included in node_modules.
/* eslint "@typescript-eslint/no-var-requires": 0 */
const path = require('path');
export default function setup() {
export default function setup(): void {
beforeEach(async function () {
this.app = new Application({
// Your electron path can be any binary