Skip to content

Commit

Permalink
remove docs and dependencies of storyshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Oct 18, 2023
1 parent 48fa779 commit fd76b20
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 324 deletions.
1 change: 0 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@
"husky": "^4.3.7",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-image-snapshot": "^6.0.0",
"jest-junit": "^16.0.0",
"jest-os-detection": "^1.3.1",
"jest-serializer-html": "^7.1.0",
Expand Down
70 changes: 1 addition & 69 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7295,7 +7295,6 @@ __metadata:
husky: ^4.3.7
jest: ^29.5.0
jest-environment-jsdom: ^29.5.0
jest-image-snapshot: ^6.0.0
jest-junit: ^16.0.0
jest-os-detection: ^1.3.1
jest-serializer-html: ^7.1.0
Expand Down Expand Up @@ -16963,13 +16962,6 @@ __metadata:
languageName: node
linkType: hard

"get-stdin@npm:^5.0.1":
version: 5.0.1
resolution: "get-stdin@npm:5.0.1"
checksum: 309f933f08a4d6783681674451027802299124e596324cd628c5e5138bbc5de843bbaa345a8ce0fc72304869f9de3b50086407aca551e292b13f7cb02351479e
languageName: node
linkType: hard

"get-stdin@npm:^6.0.0":
version: 6.0.0
resolution: "get-stdin@npm:6.0.0"
Expand Down Expand Up @@ -17353,13 +17345,6 @@ __metadata:
languageName: node
linkType: hard

"glur@npm:^1.1.2":
version: 1.1.2
resolution: "glur@npm:1.1.2"
checksum: 756fcbc7f1a8576755811e31367feeaffbd13b7f20d788672bccbd65956839065e256621a7576f4ab321352b28a0aea442d64567bca23882526b891767ffbe3e
languageName: node
linkType: hard

"google-auth-library@npm:^7.14.0":
version: 7.14.1
resolution: "google-auth-library@npm:7.14.1"
Expand Down Expand Up @@ -19578,27 +19563,6 @@ __metadata:
languageName: node
linkType: hard

"jest-image-snapshot@npm:^6.0.0":
version: 6.2.0
resolution: "jest-image-snapshot@npm:6.2.0"
dependencies:
chalk: ^4.0.0
get-stdin: ^5.0.1
glur: ^1.1.2
lodash: ^4.17.4
pixelmatch: ^5.1.0
pngjs: ^3.4.0
rimraf: ^2.6.2
ssim.js: ^3.1.1
peerDependencies:
jest: ">=20 <=29"
peerDependenciesMeta:
jest:
optional: true
checksum: 62e415f86f2bed30fe126520519014beed61a38a678285de44c6544d10eed7381b28958d3406f131a60c05715f42ab7bf7ea4ecfdab4f55946cec6739de23924
languageName: node
linkType: hard

"jest-junit@npm:^16.0.0":
version: 16.0.0
resolution: "jest-junit@npm:16.0.0"
Expand Down Expand Up @@ -21155,7 +21119,7 @@ __metadata:
languageName: node
linkType: hard

"lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0":
"lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.7.0":
version: 4.17.21
resolution: "lodash@npm:4.17.21"
checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c
Expand Down Expand Up @@ -24790,17 +24754,6 @@ __metadata:
languageName: node
linkType: hard

"pixelmatch@npm:^5.1.0":
version: 5.3.0
resolution: "pixelmatch@npm:5.3.0"
dependencies:
pngjs: ^6.0.0
bin:
pixelmatch: bin/pixelmatch
checksum: 30850661db29b57cefbe6cf36e930b7517aea4e0ed129e85fcc8ec04a7e6e7648a822a972f8e01d2d3db268ca3c735555caf6b8099a164d8b64d105986d682d2
languageName: node
linkType: hard

"pkg-dir@npm:^3.0.0":
version: 3.0.0
resolution: "pkg-dir@npm:3.0.0"
Expand Down Expand Up @@ -24882,20 +24835,6 @@ __metadata:
languageName: node
linkType: hard

"pngjs@npm:^3.4.0":
version: 3.4.0
resolution: "pngjs@npm:3.4.0"
checksum: 88ee73e2ad3f736e0b2573722309eb80bd2aa28916f0862379b4fd0f904751b4f61bb6bd1ecd7d4242d331f2b5c28c13309dd4b7d89a9b78306e35122fdc5011
languageName: node
linkType: hard

"pngjs@npm:^6.0.0":
version: 6.0.0
resolution: "pngjs@npm:6.0.0"
checksum: ac23ea329b1881d1a10575aff58116dc27b894ec3f5b84ba15c7f527d21e609fbce7ba16d48f8ccb86c7ce45ceed622472765476ab2875949d4bec55e153f87a
languageName: node
linkType: hard

"pnp-webpack-plugin@npm:^1.7.0":
version: 1.7.0
resolution: "pnp-webpack-plugin@npm:1.7.0"
Expand Down Expand Up @@ -28345,13 +28284,6 @@ __metadata:
languageName: node
linkType: hard

"ssim.js@npm:^3.1.1":
version: 3.5.0
resolution: "ssim.js@npm:3.5.0"
checksum: 9e7101da17395d3acbd417aac712d8f156522e79059a27cb38882eedd5a8868e31871c8f58bec3a150f8cf0660883cf22310cbd2fd63b408c1fd0ab02fda9fbc
languageName: node
linkType: hard

"ssri@npm:9.0.1, ssri@npm:^9.0.0":
version: 9.0.1
resolution: "ssri@npm:9.0.1"
Expand Down
5 changes: 0 additions & 5 deletions docs/toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ module.exports = {
title: 'Test coverage',
type: 'link',
},
{
pathSegment: 'snapshot-testing',
title: 'Snapshot tests',
type: 'link',
},
{
pathSegment: '',
title: 'Import stories in tests',
Expand Down
Binary file removed docs/writing-tests/snapshot-test.png
Binary file not shown.
168 changes: 0 additions & 168 deletions docs/writing-tests/snapshot-testing.md

This file was deleted.

1 change: 0 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
"husky": "^4.3.7",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-image-snapshot": "^6.0.0",
"jest-junit": "^14.0.1",
"jest-mock-extended": "^3.0.4",
"jest-os-detection": "^1.3.1",
Expand Down
Loading

0 comments on commit fd76b20

Please sign in to comment.