]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
workflow: run snapshot before tests
authorHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 23 Aug 2021 11:57:58 +0000 (19:57 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 23 Aug 2021 11:57:58 +0000 (19:57 +0800)
package.json

index 314067cfe11c5e87697ffe571d1f2e25b23c9b83..30cd7b2bd2e39808f7c14da419f279ea3a28ef80 100644 (file)
@@ -18,6 +18,7 @@
   "scripts": {
     "prepare": "husky install",
     "format": "prettier --write .",
+    "pretest": "node snapshot.js",
     "test": "node test.js",
     "prepublishOnly": "node snapshot.js"
   },