Skip to content

Commit

Permalink
feat: wip visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjansenrpm committed Aug 1, 2024
1 parent 0cd5741 commit 2baa47f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ typings/
storybook-static

# e2e test comparison images
test/functional/cypress-image-diff-screenshots/comparison
test/functional/cypress-image-diff-screenshots/comparison
test/functional/cypress-image-diff-html-report
6 changes: 1 addition & 5 deletions test/functional/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import getCompareSnapshotsPlugin from 'cypress-image-diff-js/plugin';
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
return getCompareSnapshotsPlugin(on, {
...config,
generateHtmlReport: false,
generateJsonReport: false
});
return getCompareSnapshotsPlugin(on, config);
},
viewportWidth: 576,
viewportHeight: 1024,
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"declarationDir": "src",
"sourceMap": false,
"outDir": "dist",
"noEmit": false,
"emitDeclarationOnly": true,
"plugins": [{ "name": "typescript-plugin-css-modules", "options": { "customMatcher": "\\.(c|sc)ss$" } }],
"baseUrl": "."
Expand Down

0 comments on commit 2baa47f

Please sign in to comment.