Skip to content

Commit

Permalink
Add E2E tests for spinning and customizing
Browse files Browse the repository at this point in the history
  • Loading branch information
gomander committed Jan 9, 2024
1 parent fc6af0a commit 4861d90
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 44 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@tailwindcss/forms": "~0.5.7",
"@tailwindcss/typography": "~0.5.10",
"@types/canvas-confetti": "^1.6.4",
"@types/node": "^20.10.6",
"@types/node": "^20.10.7",
"@types/uuid": "^9.0.7",
"autoprefixer": "^10.4.16",
"browser-fs-access": "^0.35.0",
Expand All @@ -41,7 +41,7 @@
"dependencies": {
"@floating-ui/dom": "^1.5.4",
"@napi-rs/canvas": "^0.1.44",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/kit": "^2.1.0",
"firebase": "^10.7.1",
"firebase-admin": "^11.11.1",
"firebase-frameworks": "^0.11.1",
Expand Down
82 changes: 41 additions & 41 deletions pnpm-lock.yaml

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

7 changes: 6 additions & 1 deletion src/lib/components/WinnerDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
{$modalStore[0].title}
</header>

<div class="p-4 h1">{$modalStore[0].body}</div>
<div
class="p-4 h1"
aria-label="Winner"
>
{$modalStore[0].body}
</div>

<footer class="p-4 flex justify-end gap-2 md:gap-4">
<button class="btn variant-soft" on:click={modalStore.close}>
Expand Down
Loading

0 comments on commit 4861d90

Please sign in to comment.