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