Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 99aadbe

Browse files
committed
update to the latest major version of @testing-library/dom
We are not using any of the features which were removed or changed in the new version. The new version also removes the need for the hack.js file we needed to use this is because, the package is using the latest major versio of pretty-format, which contains this update jestjs/jest#11569
1 parent 2f73723 commit 99aadbe

File tree

4 files changed

+91
-81
lines changed

4 files changed

+91
-81
lines changed

package-lock.json

+90-72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"type": "module",
2121
"browser": "main.js",
2222
"devDependencies": {
23-
"@testing-library/dom": "^7.31.2",
23+
"@testing-library/dom": "^8.0.0",
2424
"@testing-library/user-event": "^13.1.9",
2525
"chai": "^4.3.4",
2626
"eslint": "^7.26.0",

test/js/autocomplete.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint-env mocha */
22
/* global sinon */
3-
import './helpers/hack.js';
43
import * as fixtures from './helpers/fixtures.js';
54
import Autocomplete from '../../main.js';
65
import { screen, getByRole } from '@testing-library/dom';

test/js/helpers/hack.js

-7
This file was deleted.

0 commit comments

Comments
 (0)