about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-31 09:44:58 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-31 09:44:58 +0200
commitc27b3a8208fbfde63aa512ba9c5745cbee553eab (patch)
treeefff34d6d65e0d62a83a1d002d098cf608bbaea4 /package.json
parent51b96f0c0bc9e00477e24d1d799dba0e3a519f24 (diff)
downloadpuszcza-c27b3a8208fbfde63aa512ba9c5745cbee553eab.tar.gz
puszcza-c27b3a8208fbfde63aa512ba9c5745cbee553eab.zip
Add snapshot serializer
Diffstat (limited to 'package.json')
-rw-r--r--package.json23
1 files changed, 20 insertions, 3 deletions
diff --git a/package.json b/package.json
index f95345d..493362f 100644
--- a/package.json
+++ b/package.json
@@ -17,12 +17,29 @@
     "@nuxtjs/pwa": "^3.0.0-0"
   },
   "devDependencies": {
-    "eslint-config-prettier": "^4.1.0",
-    "eslint-plugin-prettier": "^3.0.1",
-    "prettier": "^1.16.4",
     "@vue/test-utils": "^1.0.0-beta.27",
     "babel-jest": "^24.1.0",
+    "eslint-config-prettier": "^4.1.0",
+    "eslint-plugin-prettier": "^3.0.1",
     "jest": "^24.1.0",
+    "jest-serializer-vue": "^2.0.2",
+    "prettier": "^1.16.4",
     "vue-jest": "^4.0.0-0"
+  },
+  "jest": {
+    "moduleFileExtensions": [
+      "js",
+      "json",
+      "vue"
+    ],
+    "transform": {
+      ".*\\.(vue)$": "vue-jest"
+    },
+    "moduleNameMapper": {
+      "^@/(.*)$": "<rootDir>/src/$1"
+    },
+    "snapshotSerializers": [
+      "jest-serializer-vue"
+    ]
   }
 }