Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlang committed Jul 18, 2024
1 parent ac9d865 commit 3756899
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/unit/base/defaults.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
beforeEach,
afterEach,
beforeAll,
type MockInstance,
} from 'vitest';
import {
getDefaultCodeConfig,
Expand Down Expand Up @@ -52,10 +51,8 @@ function fixture() {
}

describe.concurrent('config/defaults', () => {
let log: MockInstance;
beforeAll(async () => {
const mocks = await spy(['log']);
log = mocks.log;
await spy('log');
});
afterAll(() => {
vi.restoreAllMocks();
Expand Down

0 comments on commit 3756899

Please sign in to comment.