Test file fix
This commit is contained in:
@@ -22,7 +22,7 @@ describe('ArticleCell', () => {
|
||||
})
|
||||
|
||||
test('Success renders successfully', async () => {
|
||||
const article = standard().post
|
||||
const article = standard().article
|
||||
render(<Success article={article} />)
|
||||
|
||||
expect(screen.getByText(article.title)).toBeInTheDocument()
|
||||
|
||||
@@ -22,7 +22,7 @@ describe('ArticlesCell', () => {
|
||||
})
|
||||
|
||||
test('Success renders successfully', async () => {
|
||||
const articles = standard().posts
|
||||
const articles = standard().articles
|
||||
render(<Success articles={articles} />)
|
||||
|
||||
expect(screen.getByText(articles[0].title)).toBeInTheDocument()
|
||||
|
||||
Reference in New Issue
Block a user