chore: 🤖 add snapshot testing

This commit is contained in:
Binbin Sun
2019-12-29 11:23:46 +08:00
parent 146b61e70d
commit 669e84fdc5
5 changed files with 117 additions and 44 deletions

View File

@@ -1,3 +1,4 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest'
}
preset: "@vue/cli-plugin-unit-jest",
snapshotSerializers: ["jest-serializer-vue"]
};