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

Commit

Permalink
update to the latest major version of @testing-library/dom
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JakeChampion committed Jul 1, 2021
1 parent 2f73723 commit 99aadbe
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 81 deletions.
162 changes: 90 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "module",
"browser": "main.js",
"devDependencies": {
"@testing-library/dom": "^7.31.2",
"@testing-library/dom": "^8.0.0",
"@testing-library/user-event": "^13.1.9",
"chai": "^4.3.4",
"eslint": "^7.26.0",
Expand Down
1 change: 0 additions & 1 deletion test/js/autocomplete.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-env mocha */
/* global sinon */
import './helpers/hack.js';
import * as fixtures from './helpers/fixtures.js';
import Autocomplete from '../../main.js';
import { screen, getByRole } from '@testing-library/dom';
Expand Down
7 changes: 0 additions & 7 deletions test/js/helpers/hack.js

This file was deleted.

0 comments on commit 99aadbe

Please sign in to comment.