Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Nov 28, 2024
1 parent 368d903 commit ce15882
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/wrappers/SanctionWrapper/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('SanctionWrapper', () => {
expect(queryByText('Blocked address')).toBeTruthy()
})

it('should not render anything if the sanction list is loading', () => {
it('should render if the sanction list is loading', () => {
const safe = faker.finance.ethereumAddress()
const wallet = faker.finance.ethereumAddress()

Expand All @@ -104,7 +104,6 @@ describe('SanctionWrapper', () => {
</_SanctionWrapper>,
)

expect(queryByText('Not sanctioned')).toBeFalsy()
expect(queryByText('Blocked address')).toBeFalsy()
expect(queryByText('Not sanctioned')).toBeTruthy()
})
})

0 comments on commit ce15882

Please sign in to comment.