Skip to content

Commit

Permalink
test(shape-7911): add undefined in case of null in storyfront, so the…
Browse files Browse the repository at this point in the history
… null tests are not needed
  • Loading branch information
Dawntraoz committed Jan 2, 2025
1 parent 3d0779d commit 0e67f5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,6 @@ describe('LoadedMessage', () => {
}),
).toEqual(true)
})
it('is not null', () => {
expect(
isLoadedMessage({
...stub,
userPermissions: null,
}),
).toEqual(false)
})
it('is not a string', () => {
expect(
isLoadedMessage({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,6 @@ describe('StateChangedMessage', () => {
}),
).toEqual(true)
})
it('is not null', () => {
expect(
isStateMessage({
...stub,
userPermissions: null,
}),
).toEqual(false)
})
it('is not a string', () => {
expect(
isStateMessage({
Expand Down

0 comments on commit 0e67f5d

Please sign in to comment.