Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
viet nguyen committed May 8, 2023
1 parent 07c7b8e commit 84d04c3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/edit/__tests__/ArticleLastUpdate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import { render, screen } from '@testing-library/react'
import { AuthorMetadata } from '../../../js/types'

jest.mock('../../../assets/icons/tree.svg', () => 'svg')
jest.mock('../../../js/usernameUtil', () => ({
__esModule: 'true',
getUserNickFromMediaDir: async () => await Promise.resolve('foos')
}))

describe('Article last update', () => {
let ArticleLastUpdate
Expand Down

0 comments on commit 84d04c3

Please sign in to comment.