Files
gitlab-instance-0a899031_yi…/__tests__/index.test.js
hackrobot dcca573450 init
2024-03-19 12:39:30 +08:00

13 lines
296 B
JavaScript

import TestUtils from '@tarojs/test-utils-react'
describe('Testing', () => {
test('Test', async () => {
const testUtils = new TestUtils()
await testUtils.createApp()
await testUtils.PageLifecycle.onShow('pages/index/index')
expect(testUtils.html()).toMatchSnapshot()
})
})