diff --git a/config/jest/setupTest.js b/config/jest/setupTest.js index 4f04bd8fe..977da6870 100644 --- a/config/jest/setupTest.js +++ b/config/jest/setupTest.js @@ -12,13 +12,9 @@ if (fs.existsSync(testEnvFile)) { global.PARAGON = { version: '1.0.0', themeUrls: { - core: { - outputChunkName: 'core', - }, + core: 'core.min.css', variants: { - light: { - outputChunkName: 'light', - }, + light: 'light.min.css', }, }, }; diff --git a/example/src/__snapshots__/App.test.jsx.snap b/example/src/__snapshots__/App.test.jsx.snap index 10faa7d2d..c94422ebb 100644 --- a/example/src/__snapshots__/App.test.jsx.snap +++ b/example/src/__snapshots__/App.test.jsx.snap @@ -107,37 +107,43 @@ exports[`Basic test should render 1`] = `
+ PARAGON
+
+ global variable
+ { "version": "1.0.0", "themeUrls": { - "core": { - "outputChunkName": "core" - }, + "core": "core.min.css", "variants": { - "light": { - "outputChunkName": "light" - } + "light": "light.min.css" } } }