Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Jan 3, 2025
1 parent 6c90f15 commit 7754661
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/integration/redirect/style.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ test('0. default', async () => {
/cjs\/module\/index\.cjs/,
);
expect(cssModuleIndexJs).toMatchInlineSnapshot(`
"import * as __WEBPACK_EXTERNAL_MODULE__index_module_js__ from "./index.module.js";
__WEBPACK_EXTERNAL_MODULE__index_module_js__["default"];
"import * as __WEBPACK_EXTERNAL_MODULE__index_module_js_6796f91d__ from "./index.module.js";
__WEBPACK_EXTERNAL_MODULE__index_module_js_6796f91d__["default"];
"
`);
expect(cssModuleIndexCjs).toContain(
Expand Down Expand Up @@ -66,8 +66,8 @@ test('1. style.path: false', () => {
/cjs\/module\/index\.cjs/,
);
expect(cssModuleIndexJs).toMatchInlineSnapshot(`
"import * as __WEBPACK_EXTERNAL_MODULE__module_index_module_js__ from "@/module/index.module.js";
__WEBPACK_EXTERNAL_MODULE__module_index_module_js__["default"];
"import * as __WEBPACK_EXTERNAL_MODULE__module_index_module_js_37f93df7__ from "@/module/index.module.js";
__WEBPACK_EXTERNAL_MODULE__module_index_module_js_37f93df7__["default"];
"
`);
expect(cssModuleIndexCjs).toContain(
Expand Down Expand Up @@ -99,8 +99,8 @@ test('2. style.extension: false', async () => {
/cjs\/module\/index\.cjs/,
);
expect(cssModuleIndexJs).toMatchInlineSnapshot(`
"import * as __WEBPACK_EXTERNAL_MODULE__index_module_less__ from "./index.module.less";
__WEBPACK_EXTERNAL_MODULE__index_module_less__["default"];
"import * as __WEBPACK_EXTERNAL_MODULE__index_module_less_d1c6f702__ from "./index.module.less";
__WEBPACK_EXTERNAL_MODULE__index_module_less_d1c6f702__["default"];
"
`);
expect(cssModuleIndexCjs).toContain(
Expand Down Expand Up @@ -132,8 +132,8 @@ test('3. style.path: false, style.extension: false', async () => {
/cjs\/module\/index\.cjs/,
);
expect(cssModuleIndexJs).toMatchInlineSnapshot(`
"import * as __WEBPACK_EXTERNAL_MODULE__module_index_module_less__ from "@/module/index.module.less";
__WEBPACK_EXTERNAL_MODULE__module_index_module_less__["default"];
"import * as __WEBPACK_EXTERNAL_MODULE__module_index_module_less_80aa7a8a__ from "@/module/index.module.less";
__WEBPACK_EXTERNAL_MODULE__module_index_module_less_80aa7a8a__["default"];
"
`);
expect(cssModuleIndexCjs).toContain(
Expand Down

0 comments on commit 7754661

Please sign in to comment.