diff --git a/assets/jest.config.js b/assets/jest.config.js index fe369f5b9f..a2d4342cc9 100644 --- a/assets/jest.config.js +++ b/assets/jest.config.js @@ -39,18 +39,6 @@ module.exports = { // A list of reporter names that Jest uses when writing coverage reports coverageReporters: ["none"], - reporters: [ - ["jest-monocart-coverage", { - name: "Phoenix LiveView JS Unit Coverage", - reports: [ - ["raw", {outputDir: "./raw"}], - ["v8"], - ["console-summary"] - ], - outputDir: "./coverage" - }] - ], - // An object that configures minimum threshold enforcement for coverage results // coverageThreshold: undefined, @@ -112,7 +100,18 @@ module.exports = { // projects: undefined, // Use this configuration option to add custom reporters to Jest - // reporters: undefined, + reporters: [ + "default", + ["jest-monocart-coverage", { + name: "Phoenix LiveView JS Unit Coverage", + reports: [ + ["raw", {outputDir: "./raw"}], + ["v8"], + ["console-summary"] + ], + outputDir: "./coverage" + }] + ], // Automatically reset mock state between every test // resetMocks: false, diff --git a/test/e2e/tests/issues/3117.spec.js b/test/e2e/tests/issues/3117.spec.js index e17dc9381c..ce9b523e85 100644 --- a/test/e2e/tests/issues/3117.spec.js +++ b/test/e2e/tests/issues/3117.spec.js @@ -1,4 +1,4 @@ -const { test, expect } = require("@playwright/test"); +const { test, expect } = require("../../test-fixtures"); const { syncLV } = require("../../utils"); test("LiveComponent with static FC root is not reset", async ({ page }) => {