[tests][xs]: updated test name and snapshot on home page.
This commit is contained in:
parent
ebfe884b7b
commit
c9d357f6f5
@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`renders snapshot homepage 1`] = `
|
||||
exports[`📸 of Home page 1`] = `
|
||||
<div
|
||||
className="jsx-2293288804 container mx-auto"
|
||||
>
|
||||
|
||||
@ -3,7 +3,7 @@ import { render } from '@testing-library/react'
|
||||
import renderer from 'react-test-renderer'
|
||||
import Index from '../../pages/index'
|
||||
|
||||
test('renders snapshot homepage', () => {
|
||||
test('📸 of Home page', () => {
|
||||
const tree = renderer.create(<Index />).toJSON()
|
||||
expect(tree).toMatchSnapshot()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user