Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
neokry committed Aug 24, 2023
1 parent 7502eae commit dc10a50
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/web/src/modules/dao/components/DaoCard/DaoCard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import dayjs from 'dayjs'
import React from 'react'
import { describe, expect, it, vi } from 'vitest'

import { CHAIN_ID } from 'src/typings'

import { DaoCard } from './DaoCard'

describe('Dao card', () => {
Expand All @@ -17,6 +19,7 @@ describe('Dao card', () => {
it('should render a given dao with an ended auction', () => {
render(
<DaoCard
chainId={CHAIN_ID.FOUNDRY}
tokenName="Token name"
tokenImage="https://fakeimg.pl/300/"
collectionName="Collection name"
Expand All @@ -35,6 +38,7 @@ describe('Dao card', () => {
it('should render a dao given undefined values', () => {
render(
<DaoCard
chainId={CHAIN_ID.FOUNDRY}
tokenName={undefined}
tokenImage={undefined}
collectionName={undefined}
Expand All @@ -54,6 +58,7 @@ describe('Dao card', () => {
it('should render a given dao with an active auction', () => {
render(
<DaoCard
chainId={CHAIN_ID.FOUNDRY}
tokenName="Token name"
tokenImage="https://fakeimg.pl/300/"
collectionName="Collection name"
Expand Down

0 comments on commit dc10a50

Please sign in to comment.