File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/integration/style/stylus Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ test('should extract css with pluginStylus in bundle-false', async () => {
5959 const { contents } = await buildAndGetResults ( { fixturePath, type : 'css' } ) ;
6060 const { contents : jsContents } = await buildAndGetResults ( { fixturePath } ) ;
6161
62- const esmFiles = Object . keys ( contents . esm ) ;
62+ const esmCssFiles = Object . keys ( contents . esm ) ;
6363 const esmCssContents = Object . values ( contents . esm ) ;
64- const cjsFiles = Object . keys ( contents . cjs ) ;
64+ const cjsCssFiles = Object . keys ( contents . cjs ) ;
6565 const cjsCssContents = Object . values ( contents . cjs ) ;
6666
67- expect ( esmFiles ) . toMatchInlineSnapshot ( `
67+ expect ( esmCssFiles ) . toMatchInlineSnapshot ( `
6868 [
6969 "<ROOT>/tests/integration/style/stylus/bundle-false/dist/esm/a.css",
7070 "<ROOT>/tests/integration/style/stylus/bundle-false/dist/esm/b_module.css",
@@ -102,7 +102,7 @@ test('should extract css with pluginStylus in bundle-false', async () => {
102102 'import * as __WEBPACK_EXTERNAL_MODULE__b_module_js_6a8a3e41__ from "./b.module.js"' ,
103103 ] ) ;
104104
105- expect ( cjsFiles ) . toMatchInlineSnapshot ( `
105+ expect ( cjsCssFiles ) . toMatchInlineSnapshot ( `
106106 [
107107 "<ROOT>/tests/integration/style/stylus/bundle-false/dist/cjs/a.css",
108108 "<ROOT>/tests/integration/style/stylus/bundle-false/dist/cjs/b_module.css",
You can’t perform that action at this time.
0 commit comments