Skip to content

Commit

Permalink
Add snapshot tests for method-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kazk committed Nov 30, 2021
1 parent 2ed9114 commit 3c848e6
Show file tree
Hide file tree
Showing 5 changed files with 585 additions and 11 deletions.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
// The test environment that will be used for testing
testEnvironment: "jest-environment-jsdom",
testEnvironment: 'jest-environment-jsdom',
snapshotSerializers: ['jest-serializer-html'],
};
94 changes: 94 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"husky": "^7.0.4",
"jest": "^27.3.1",
"jest-environment-jsdom": "^27.3.1",
"jest-serializer-html": "^7.1.0",
"marked": "^4.0.5",
"parcel": "^2.0.0",
"prettier": "^2.4.1",
Expand Down
Loading

0 comments on commit 3c848e6

Please sign in to comment.