Skip to content

Commit

Permalink
#155: update unit test for page-not-found
Browse files Browse the repository at this point in the history
  • Loading branch information
tholulomo committed May 31, 2022
1 parent df8384f commit a3c18ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/tests/unit/pages/notfound.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ describe('NotFound.vue', () => {

enableAutoDestroy(afterEach)

it('render header correctly', () => {
expect(wrapper.find('header').exists()).toBe(true)
})

it('render notfound p correctly', () => {
expect.assertions(1)
expect(wrapper.find('.page-not-found').exists()).toBe(true)
Expand Down

0 comments on commit a3c18ea

Please sign in to comment.