This commit is contained in:
2023-08-30 06:09:15 +08:00
commit 90225f68e0
31 changed files with 14842 additions and 0 deletions

12
__tests__/index.test.js Normal file
View File

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