Skip to content

Commit

Permalink
add default jest reporter back
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Apr 28, 2024
1 parent 85d27a0 commit 2893947
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions assets/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down Expand Up @@ -114,7 +102,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,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/issues/3117.spec.js
Original file line number Diff line number Diff line change
@@ -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 }) => {
Expand Down

0 comments on commit 2893947

Please sign in to comment.