feat: first commit
This commit is contained in:
12
__tests__/index.test.js
Normal file
12
__tests__/index.test.js
Normal file
@ -0,0 +1,12 @@
|
||||
import TestUtils from '@tarojs/test-utils-react'
|
||||
|
||||
describe('Testing', () => {
|
||||
|
||||
test('Test', async () => {
|
||||
const testUtils = new TestUtils()
|
||||
await testUtils.createApp()
|
||||
await testUtils.PageLifecycle.onShow('pages/home/index')
|
||||
expect(testUtils.html()).toMatchSnapshot()
|
||||
})
|
||||
|
||||
})
|
Reference in New Issue
Block a user