Skip to content

Commit

Permalink
chore: Added a visual tool, fixed screens
Browse files Browse the repository at this point in the history
  • Loading branch information
meatrue committed Jul 1, 2024
1 parent 0327e6a commit 915afcd
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ node_modules
.idea
.vscode

/storybook-static
/storybook-static
.loki/report.html
.loki/report.json
283 changes: 283 additions & 0 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"test:ui": "npx loki test",
"test:ui:ok": "npx loki approve",
"test:ui:ci": "npx loki --requireReference --reactUri file:./storybook-static",
"test:ui:report": "npm run test:ui:json && npm run test:ui:html",
"test:ui:json": "node scripts/generate-visual-json-report.js",
"test:ui:html": "reg-cli --from .loki/report.json --report .loki/report.html",
"storybook": "storybook dev -p 6006 -c ./config/storybook",
"storybook:build": "storybook build -c ./config/storybook"
},
Expand Down Expand Up @@ -66,6 +69,7 @@
"jest": "^27.5.1",
"loki": "^0.35.0",
"mini-css-extract-plugin": "^2.5.3",
"reg-cli": "^0.18.6",
"regenerator-runtime": "^0.13.9",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
Expand Down
Loading

0 comments on commit 915afcd

Please sign in to comment.