Skip to content

Commit

Permalink
style(all): remove unused imports
Browse files Browse the repository at this point in the history
- remove unused imports
- import afterAll

Ref naver#3866
  • Loading branch information
netil authored and netil committed Aug 22, 2024
1 parent 5ce41c7 commit 2d7329d
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/api/flow-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion test/api/selection-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion test/interactions/drag-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion test/interactions/zoom-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion test/internals/boost-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
Binary file modified test/internals/class-spec.ts
Binary file not shown.
2 changes: 1 addition & 1 deletion test/internals/legend-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
1 change: 0 additions & 1 deletion test/internals/padding-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion test/internals/regions-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion test/internals/selection-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d7329d

Please sign in to comment.