Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(core): add visual regression testing #962

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: update-ref-screenshot command
etowahadams committed Oct 18, 2023
commit c343f8550d2d0529946e16843aaa112110c31294
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@
"check": "tsc --noEmit",
"test": "vitest",
"screenshot": "vitest --mode screenshot",
"update-ref-screenshots": "rm ./img/visual-regression/reference-screenshots/*.png; mv ./img/visual-regression/new-screenshots/*.png ./img/visual-regression/reference-screenshots/",
"coverage": "vitest run --coverage",
"format": "eslint src/ editor/ --fix && prettier 'editor/**/*.css' --write",
"schema": "node scripts/generate-schemas.mjs",