Merge pull request #85 from Safelite/enhancement/add-testing-library

Add 3 packages that will help with writing tests, especially when creating assertion for DOM elements and triggering user interaction that matches with the browser events.
This commit is contained in:
Johan Gunawan 2022-12-27 15:18:40 -05:00 committed by GitHub
commit 4cc688534b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 902 additions and 0 deletions

899
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -22,6 +22,9 @@
"vue-router": "^4.0.3"
},
"devDependencies": {
"@testing-library/jest-dom": "5.16.5",
"@testing-library/user-event": "14.4.3",
"@testing-library/vue": "6.6.1",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-plugin-unit-jest": "~5.0.0",