Skip to content

Commit 226adc9

Browse files
committed
fix vitest
1 parent 16d257e commit 226adc9

File tree

16 files changed

+3
-17
lines changed

16 files changed

+3
-17
lines changed

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/redirect/__fixtures__/src/index.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/integration/redirect/js/index.test.ts renamed to tests/integration/redirect/javascript/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ test('redirect.js default', async () => {
1313
contents.esm0!,
1414
/esm\/index\.js/,
1515
);
16+
1617
expect(indexContent).toMatchInlineSnapshot(`
1718
"import * as __WEBPACK_EXTERNAL_MODULE_lodash__ from "lodash";
1819
import * as __WEBPACK_EXTERNAL_MODULE__bar_index_js__ from "./bar/index.js";

tests/integration/redirect/js/src/index.ts renamed to tests/integration/redirect/javascript/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import lodash from 'lodash';
33
import { bar as bar2 } from '@/bar';
44
import { foo as foo2 } from '@/foo';
55
import { bar } from './bar';
6-
import { foo } from './foo.ts';
6+
import { foo } from './foo';
77

88
export default lodash.toUpper(foo + bar + foo2 + bar2);

0 commit comments

Comments
 (0)