Skip to content

Commit 32068e2

Browse files
committed
chore: fix vite import warning in tests
1 parent f9466b5 commit 32068e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/locale-imports.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe.each(keys(allLocales))('locale imports', (locale) => {
1818
});
1919

2020
it(`should be possible to directly import('@faker-js/faker/locale/${locale}')`, async () => {
21-
const { faker } = (await import(`../dist/locale/${locale}`)) as {
21+
const { faker } = (await import(`../dist/locale/${locale}.js`)) as {
2222
faker: Faker;
2323
};
2424

0 commit comments

Comments
 (0)