diff --git a/projects/js-packages/critical-css-gen/package.json b/projects/js-packages/critical-css-gen/package.json index 8e25254058323..0bab2934ce23a 100644 --- a/projects/js-packages/critical-css-gen/package.json +++ b/projects/js-packages/critical-css-gen/package.json @@ -19,7 +19,7 @@ "build:test": "pnpm run clean:test && webpack --config tests/data/webpack.config.cjs", "clean": "rm -rf build/", "clean:test": "rm -rf tests/build/", - "test": "pnpm build:test && NODE_ENV=test NODE_PATH=./node_modules jest --forceExit --config=tests/config/jest.config.js" + "test": "pnpm build && pnpm build:test && NODE_ENV=test NODE_PATH=./node_modules jest --forceExit --config=tests/config/jest.config.js" }, "main": "./build/browser.js", "devDependencies": {