Test Cypress tests

This commit is contained in:
Kalle 2022-07-08 11:13:58 +03:00
parent b2e6db5a49
commit 54baf8a158
2 changed files with 5 additions and 1 deletions

View File

@ -21,3 +21,8 @@ jobs:
run: npm run lint:styles
- name: Typecheck
run: npm run typecheck
- name: Cypress run
uses: cypress-io/github-action@v4
with:
build: npm run build
start: npm start

View File

@ -245,7 +245,6 @@ function Voting(data: Extract<PlusVotingLoaderData, { type: "voting" }>) {
)}
{currentUser ? (
<div className="stack md items-center">
{/* xxx: doesn't seem to work at all */}
<Avatar
discordAvatar={currentUser.user.discordAvatar}
discordId={currentUser.user.discordId}