Skip to content

Commit cb6a177

Browse files
authored
fix: remove outdated Jest Dom v5 typing (freeCodeCamp#65722)
1 parent 506f8d6 commit cb6a177

3 files changed

Lines changed: 8 additions & 178 deletions

File tree

client/src/templates/Introduction/components/super-block-accordion.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import { render, screen, within } from '@testing-library/react';
33
import { describe, it, expect } from 'vitest';
4+
import '@testing-library/jest-dom/vitest';
45
import { SuperBlocks } from '@freecodecamp/shared/config/curriculum';
56
import { SuperBlockAccordion } from './super-block-accordion';
67
import { BlockLabel, BlockLayouts } from '@freecodecamp/shared/config/blocks';

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
"@testing-library/jest-dom": "6.6.3",
8484
"@types/lodash": "4.14.202",
8585
"@types/node": "^24.10.8",
86-
"@types/testing-library__jest-dom": "^5.14.5",
8786
"debug": "4.3.4",
8887
"globals": "^15.14.0",
8988
"husky": "9.0.11",

0 commit comments

Comments
 (0)