diff --git a/.gitignore b/.gitignore index 3948e47..a0517d4 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,5 @@ *.sln *.sw? -# Test reports and snapshots -__snapshots__ +# Test reports coverage diff --git a/src/test/__snapshots__/HelloWorld.test.ts.snap b/src/test/__snapshots__/HelloWorld.test.ts.snap new file mode 100644 index 0000000..9e743e6 --- /dev/null +++ b/src/test/__snapshots__/HelloWorld.test.ts.snap @@ -0,0 +1,11 @@ +// Vitest Snapshot v1 + +exports[`mount component 1`] = ` +"

+
+

Edit components/HelloWorld.vue to test HMR

+
+

Check out create-vue, the official Vue + Vite starter

+

Install Volar in your IDE for a better DX

+

Click on the Vite and Vue logos to learn more

" +`; diff --git a/src/test/__snapshots__/basic.test.ts.snap b/src/test/__snapshots__/basic.test.ts.snap new file mode 100644 index 0000000..9e743e6 --- /dev/null +++ b/src/test/__snapshots__/basic.test.ts.snap @@ -0,0 +1,11 @@ +// Vitest Snapshot v1 + +exports[`mount component 1`] = ` +"

+
+

Edit components/HelloWorld.vue to test HMR

+
+

Check out create-vue, the official Vue + Vite starter

+

Install Volar in your IDE for a better DX

+

Click on the Vite and Vue logos to learn more

" +`;