diff --git a/test/integration/css-modules/test/index.test.js b/test/integration/css-modules/test/index.test.js index 3c0d865fd44dc..e990a2e04624c 100644 --- a/test/integration/css-modules/test/index.test.js +++ b/test/integration/css-modules/test/index.test.js @@ -286,7 +286,7 @@ describe('Valid CSS Module Usage from within node_modules', () => { const cssContent = await readFile(join(cssFolder, cssFiles[0]), 'utf8') expect(cssContent.replace(/\/\*.*?\*\//g, '').trim()).toMatchInlineSnapshot( - `".example_redText__1rb5g{color:\\"red\\"}"` + `".example_redText__1rb5g{color:red}"` ) }) }) diff --git a/test/integration/scss-modules/test/index.test.js b/test/integration/scss-modules/test/index.test.js index d73f290d379f3..751ef2e07889c 100644 --- a/test/integration/scss-modules/test/index.test.js +++ b/test/integration/scss-modules/test/index.test.js @@ -286,7 +286,7 @@ describe('Valid CSS Module Usage from within node_modules', () => { const cssContent = await readFile(join(cssFolder, cssFiles[0]), 'utf8') expect(cssContent.replace(/\/\*.*?\*\//g, '').trim()).toMatchInlineSnapshot( - `".example_redText__1hNNA{color:\\"red\\"}"` + `".example_redText__1hNNA{color:red}"` ) }) })