Test file fix

This commit is contained in:
Rob Cameron
2022-02-09 14:18:17 -08:00
parent a84a6fa3db
commit a5864b14e7
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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()