From e500620596d4a555f8e603e0ef81da4bc4f65170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BE=C3=B3r=20Magn=C3=BAsson?= Date: Mon, 2 Jul 2018 22:12:08 +0200 Subject: [PATCH] chore: fix more linting errors in tests --- test/setup.ts | 1 - test/src/plugin-context.ts | 5 +---- test/src/tasks/test.ts | 4 ---- test/src/types/module.ts | 1 - 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/test/setup.ts b/test/setup.ts index 04258655ff..5bab8a93b2 100644 --- a/test/setup.ts +++ b/test/setup.ts @@ -1,5 +1,4 @@ import * as td from "testdouble" -import { Module } from "../src/types/module" import { RootLogNode } from "../src/logger/logger" import { LogLevel } from "../src/logger/types" diff --git a/test/src/plugin-context.ts b/test/src/plugin-context.ts index d1b0f7a127..747d9cdcf9 100644 --- a/test/src/plugin-context.ts +++ b/test/src/plugin-context.ts @@ -1,9 +1,6 @@ import { expect } from "chai" import { PluginContext } from "../../src/plugin-context" -import { - expectError, - makeTestContextA, -} from "../helpers" +import { expectError } from "../helpers" import { getNames } from "../../src/util/util" import { Garden } from "../../src/garden" import { makeTestGardenA } from "../helpers" diff --git a/test/src/tasks/test.ts b/test/src/tasks/test.ts index d5f848d8b0..dd410ec358 100644 --- a/test/src/tasks/test.ts +++ b/test/src/tasks/test.ts @@ -2,10 +2,6 @@ import { expect } from "chai" import { resolve } from "path" import { TestTask } from "../../../src/tasks/test" import * as td from "testdouble" -import { - NEW_MODULE_VERSION, - ModuleVersion, -} from "../../../src/vcs/base" import { dataDir, makeTestGarden, diff --git a/test/src/types/module.ts b/test/src/types/module.ts index 97ca90c7e1..6b9a7b2482 100644 --- a/test/src/types/module.ts +++ b/test/src/types/module.ts @@ -4,7 +4,6 @@ import { dataDir, makeTestContextA, makeTestContext, - makeTestGardenA, } from "../../helpers" import { expect } from "chai" import { loadConfig } from "../../../src/types/config"