Skip to content

Commit

Permalink
test(sanity): fix test for ReleaseMenuButton
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed Sep 6, 2024
1 parent 7563901 commit 0676264
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {beforeEach, describe, expect, jest, test} from '@jest/globals'
import {fireEvent, render, screen} from '@testing-library/react'
import {act} from 'react'
import {useRouter} from 'sanity/router'

import {createTestProvider} from '../../../../../../test/testUtils/TestProvider'
Expand Down Expand Up @@ -49,7 +50,6 @@ describe('BundleMenuButton', () => {
_type: 'release',
archivedAt: undefined,
title: 'activeBundle',
slug: 'activeBundle',
authorId: 'author',
_createdAt: new Date().toISOString(),
_updatedAt: new Date().toISOString(),
Expand Down Expand Up @@ -78,7 +78,6 @@ describe('BundleMenuButton', () => {
_type: 'release',
archivedAt: new Date().toISOString(),
title: 'activeBundle',
slug: 'activeBundle',
authorId: 'author',
_createdAt: new Date().toISOString(),
_updatedAt: new Date().toISOString(),
Expand Down Expand Up @@ -106,7 +105,6 @@ describe('BundleMenuButton', () => {
_type: 'release',
archivedAt: new Date().toISOString(),
title: 'activeBundle',
slug: 'activeBundle',
authorId: 'author',
_createdAt: new Date().toISOString(),
_updatedAt: new Date().toISOString(),
Expand Down Expand Up @@ -138,7 +136,6 @@ describe('BundleMenuButton', () => {
_type: 'release',
archivedAt: new Date().toISOString(),
title: 'activeEmptyBundle',
slug: 'activeEmptyBundle',
authorId: 'author',
_createdAt: new Date().toISOString(),
_updatedAt: new Date().toISOString(),
Expand Down Expand Up @@ -171,7 +168,6 @@ describe('BundleMenuButton', () => {
_type: 'release',
archivedAt: new Date().toISOString(),
title: 'activeEmptyBundle',
slug: 'activeEmptyBundle',
authorId: 'author',
_createdAt: new Date().toISOString(),
_updatedAt: new Date().toISOString(),
Expand Down

0 comments on commit 0676264

Please sign in to comment.