style(tests): 💡 add eslint ignore for whole test files

This commit is contained in:
Mikhail Zolotukhin 2021-09-21 21:08:58 +03:00
parent 32ae23c6a2
commit 2d2c60874c
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: MIT
/* eslint-disable @typescript-eslint/unbound-method */
import { createMock } from "ts-auto-mock";
import { Engine } from "../engine";
import { FocusUpperWindow } from "./action";
@ -18,7 +20,6 @@ describe("action", () => {
action.execute();
// Assert
// eslint-disable-next-line @typescript-eslint/unbound-method
expect(fakeEngine.focusDir).toBeCalledWith("up");
});
});

View File

@ -2,6 +2,8 @@
//
// SPDX-License-Identifier: MIT
/* eslint-disable @typescript-eslint/unbound-method */
import { createMock } from "ts-auto-mock";
import { TilingEngine } from ".";
@ -33,7 +35,6 @@ describe("arrange", () => {
engine.arrange();
// Assert
// eslint-disable-next-line @typescript-eslint/unbound-method
expect(engine.arrangeScreen).toBeCalledTimes(4);
});
});