diff --git a/test/api/flow-spec.ts b/test/api/flow-spec.ts index 0f6fcfb72..a3955c0d4 100644 --- a/test/api/flow-spec.ts +++ b/test/api/flow-spec.ts @@ -3,7 +3,7 @@ * billboard.js project is licensed under the MIT license */ /* eslint-disable */ -import {beforeEach, beforeAll, describe, expect, it} from "vitest"; +import {beforeEach, beforeAll, afterEach, describe, expect, it} from "vitest"; import sinon from "sinon"; import util from "../assets/util"; import {$AXIS, $GRID, $LINE, $TEXT} from "../../src/config/classes"; diff --git a/test/api/selection-spec.ts b/test/api/selection-spec.ts index d250312e4..1ce023957 100644 --- a/test/api/selection-spec.ts +++ b/test/api/selection-spec.ts @@ -3,7 +3,7 @@ * billboard.js project is licensed under the MIT license */ /* eslint-disable */ -import {beforeEach, beforeAll, afterAll, describe, expect, it} from "vitest"; +import {beforeAll, describe, expect, it} from "vitest"; import util from "../assets/util"; import {$BAR, $SELECT, $SHAPE} from "../../src/config/classes"; diff --git a/test/interactions/drag-spec.ts b/test/interactions/drag-spec.ts index 12a3cbb6e..9157493cb 100644 --- a/test/interactions/drag-spec.ts +++ b/test/interactions/drag-spec.ts @@ -4,7 +4,7 @@ */ /* eslint-disable */ /* global describe, beforeEach, it, expect */ -import {beforeEach, beforeAll, describe, expect, it} from "vitest"; +import {beforeEach, beforeAll, afterEach, describe, expect, it} from "vitest"; import {$DRAG, $SELECT} from "../../src/config/classes"; import util from "../assets/util"; diff --git a/test/interactions/zoom-spec.ts b/test/interactions/zoom-spec.ts index 6e1538d70..c6c1f6b65 100644 --- a/test/interactions/zoom-spec.ts +++ b/test/interactions/zoom-spec.ts @@ -4,7 +4,7 @@ */ /* eslint-disable */ /* global describe, beforeEach, it, expect */ -import {beforeEach, beforeAll, afterAll, describe, expect, it} from "vitest"; +import {beforeEach, beforeAll, describe, expect, it} from "vitest"; import {zoomTransform as d3ZoomTransform} from "d3-zoom"; import sinon from "sinon"; import {$AXIS, $EVENT, $GRID, $REGION, $ZOOM} from "../../src/config/classes"; diff --git a/test/internals/boost-spec.ts b/test/internals/boost-spec.ts index 9f071bf8d..2b28026be 100644 --- a/test/internals/boost-spec.ts +++ b/test/internals/boost-spec.ts @@ -4,7 +4,7 @@ */ /* eslint-disable */ /* global describe, beforeEach, it, expect */ -import {beforeEach, beforeAll, afterAll, describe, expect, it} from "vitest"; +import {beforeEach, describe, expect, it} from "vitest"; import util from "../assets/util"; import {runWorker} from "../../src/module/worker"; diff --git a/test/internals/class-spec.ts b/test/internals/class-spec.ts index 3350bbe82..a35a9ba53 100644 Binary files a/test/internals/class-spec.ts and b/test/internals/class-spec.ts differ diff --git a/test/internals/legend-spec.ts b/test/internals/legend-spec.ts index 8417183b0..0f5aa1023 100644 --- a/test/internals/legend-spec.ts +++ b/test/internals/legend-spec.ts @@ -4,8 +4,8 @@ */ /* eslint-disable */ /* global describe, beforeEach, it, expect */ -import sinon from "sinon"; import {beforeEach, beforeAll, afterAll, describe, expect, it} from "vitest"; +import sinon from "sinon"; import {select as d3Select} from "d3-selection"; import util from "../assets/util"; import {$FOCUS, $LEGEND} from "../../src/config/classes"; diff --git a/test/internals/padding-spec.ts b/test/internals/padding-spec.ts index d5099a962..8ce7c18af 100644 --- a/test/internals/padding-spec.ts +++ b/test/internals/padding-spec.ts @@ -4,7 +4,6 @@ */ /* eslint-disable */ import {beforeEach, beforeAll, describe, expect, it} from "vitest"; -import sinon from "sinon"; import util from "../assets/util"; import {$AXIS} from "../../src/config/classes"; diff --git a/test/internals/regions-spec.ts b/test/internals/regions-spec.ts index 3580ce03a..b28b4b3ac 100644 --- a/test/internals/regions-spec.ts +++ b/test/internals/regions-spec.ts @@ -3,7 +3,7 @@ * billboard.js project is licensed under the MIT license */ /* eslint-disable */ -import {beforeEach, beforeAll, describe, expect, it} from "vitest"; +import {beforeEach, beforeAll, afterEach, describe, expect, it} from "vitest"; import {window} from "../../src/module/browser"; import util from "../assets/util"; diff --git a/test/internals/selection-spec.ts b/test/internals/selection-spec.ts index e93c6d1f7..745865975 100644 --- a/test/internals/selection-spec.ts +++ b/test/internals/selection-spec.ts @@ -4,8 +4,8 @@ */ /* eslint-disable */ /* global describe, beforeEach, it, expect */ -import sinon from "sinon"; import {beforeEach, beforeAll, describe, expect, it} from "vitest"; +import sinon from "sinon"; import { select as d3Select, selectAll as d3SelectAll