init
This commit is contained in:
10
__tests__/index.test.js
Normal file
10
__tests__/index.test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user