Skip to content

Commit e8fe386

Browse files
committed
fix coverage test isolation
1 parent 13206fb commit e8fe386

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

tests/check-plugin.test.ts

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
import { describe, expect, mock, test } from 'bun:test';
2-
3-
// Mock dependencies before imports
4-
mock.module('fs-extra', () => ({
5-
default: {
6-
access: async () => {},
7-
},
8-
}));
9-
10-
mock.module('i18next', () => ({
11-
default: {
12-
init: () => {},
13-
t: (key: string) => key,
14-
},
15-
}));
1+
import { describe, expect, test } from 'bun:test';
162

173
import { checkPlugins } from '../src/utils/check-plugin';
184
import * as pluginConfig from '../src/utils/plugin-config';

0 commit comments

Comments
 (0)