Skip to content

Commit

Permalink
chore: [PIE-2894]: fix broken test (#7591)
Browse files Browse the repository at this point in the history
* chore: [PIE-2894]: fix broken test

* chore: [PIE-2894]: fix broken test
  • Loading branch information
vkbansal authored Mar 1, 2022
1 parent a7d2c91 commit fff8e91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { TestWrapper } from '@common/utils/testUtils'

import FFUsageInfo from '../overview/FFUsageInfo'

jest.mock('moment', () => () => ({ format: () => 'DUMMY_DATE' }))

jest.mock('@common/hooks/useGetUsageAndLimit', () => {
return {
useGetUsageAndLimit: () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ exports[`FFUsageInfo FFUsageInfo 1`] = `
<p
class="StyledProps--font StyledProps--main StyledProps--font-size-small StyledProps--color StyledProps--color-grey500"
>
March 2022
DUMMY_DATE
</p>
</div>
<p
Expand Down

0 comments on commit fff8e91

Please sign in to comment.