diff --git a/demo/jest.config.ts b/demo/jest.config.ts index 66586b97..0d4c754f 100644 --- a/demo/jest.config.ts +++ b/demo/jest.config.ts @@ -46,6 +46,7 @@ const config: Config = { // An object that configures minimum threshold enforcement for coverage results // coverageThreshold: undefined, + displayName: "jsdom tests for demo website", // A path to a custom dependency extractor // dependencyExtractor: undefined, diff --git a/demo/src/__tests__/SvgDisplay.spec.tsx b/demo/src/__tests__/SvgDisplay.spec.tsx index 0e0779e8..cfd649b9 100644 --- a/demo/src/__tests__/SvgDisplay.spec.tsx +++ b/demo/src/__tests__/SvgDisplay.spec.tsx @@ -34,7 +34,6 @@ describe("SvgDisplay", () => { ]; render(); }); - afterEach(cleanup); it("renders canvas element with specified dimensions", () => { const canvasElement = screen.getByTestId("memory-models-canvas"); diff --git a/src/jest.config.ts b/src/jest.config.ts index 6d4b5854..98b0a1b3 100644 --- a/src/jest.config.ts +++ b/src/jest.config.ts @@ -46,6 +46,7 @@ const config: Config = { // An object that configures minimum threshold enforcement for coverage results // coverageThreshold: undefined, + displayName: "node tests for memory models scripts", // A path to a custom dependency extractor // dependencyExtractor: undefined,