Skip to content

Commit

Permalink
Merge pull request #1827 from intuit/refactor-npm-tests
Browse files Browse the repository at this point in the history
Use mock-fs for npm tests
  • Loading branch information
hipstersmoothie authored Feb 23, 2021
2 parents 239fa84 + 5f9b50b commit e77a47c
Show file tree
Hide file tree
Showing 5 changed files with 403 additions and 349 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@fortawesome/free-solid-svg-icons": "^5.12.1",
"@fortawesome/react-fontawesome": "^0.1.9",
"@types/jest": "^26.0.0",
"@types/mock-fs": "^4.13.0",
"@types/parse-github-url": "1.0.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
Expand All @@ -67,6 +68,7 @@
"jest-snapshot-serializer-ansi": "^1.0.0",
"lerna": "^3.22.1",
"lint-staged": "^10.0.7",
"mock-fs": "^4.13.0",
"next-ignite": "^0.9.20",
"patch-package": "^6.2.2",
"prettier": "^2.2.1",
Expand Down Expand Up @@ -95,6 +97,9 @@
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"setupFiles": [
"./scripts/jest-setup.js"
],
"moduleFileExtensions": [
"ts",
"js",
Expand Down
Loading

0 comments on commit e77a47c

Please sign in to comment.