瀏覽代碼

Remove unnecessary imports

Only define used imports in tests.
master
TheoryOfNekomata 2 年之前
父節點
當前提交
4d333e1d5c
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      src/__tests__/formatting.test.ts
  2. +2
    -2
      src/__tests__/readers.test.ts

+ 1
- 1
src/__tests__/formatting.test.ts 查看文件

@@ -4,7 +4,7 @@ import {
describe, describe,
it, it,
expect, expect,
vi, beforeAll, afterAll, beforeEach, afterEach,
vi, beforeAll, afterAll,
} from 'vitest'; } from 'vitest';
import { main } from '../app'; import { main } from '../app';
import * as presenters from '../presenters'; import * as presenters from '../presenters';


+ 2
- 2
src/__tests__/readers.test.ts 查看文件

@@ -1,7 +1,7 @@
import * as obliqueStrategiesCore from '@theoryofnekomata/oblique-strategies-core'; import * as obliqueStrategiesCore from '@theoryofnekomata/oblique-strategies-core';
import { import {
afterAll, afterEach,
beforeAll, beforeEach,
afterAll,
beforeAll,
describe, describe,
expect, expect,
it, vi, it, vi,


Loading…
取消
儲存