From 61804c367fb62cf64ba83e12c3e373e2948c36f3 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 23 Aug 2021 19:57:58 +0800 Subject: [PATCH] workflow: run snapshot before tests --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 314067cf..30cd7b2b 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "scripts": { "prepare": "husky install", "format": "prettier --write .", + "pretest": "node snapshot.js", "test": "node test.js", "prepublishOnly": "node snapshot.js" }, -- 2.39.5