Skip to content

Commit 719af6e

Browse files
committed
fix(test): rework import to allow mocking
1 parent 6f6112f commit 719af6e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { chromeI18n, useI18nTranslate } from '@dvcol/web-extension-utils/chrome/i18n';

src/utils/i18n.utils.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import * as I18nUtils from '@dvcol/web-extension-utils/chrome/i18n';
21
import { afterEach, describe, expect, it, vi } from 'vitest';
32

43
import * as I18nStore from '../stores/i18n.store';
54

65
import { useI18n } from './i18n.utils';
76

87
import * as RouterStore from '~/stores/router.store';
8+
import * as I18nUtils from '~/utils/browser/browser-i18n.utils';
99

1010
describe('i18n.utils.ts', () => {
1111
afterEach(() => {

0 commit comments

Comments
 (0)