From 130c9c3c6f197636d6a9db680f9ad11c66888591 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 22 Jun 2023 10:01:07 +0200 Subject: [PATCH] Updated `test:unit` script for Comments-UI refs https://github.com/TryGhost/Toolbox/issues/400 - this package won't pass tests on Node 16 because of the use of `fetch`, but that's ok because we publish using Node 18 anyway - this switches the test command to just ensuring the package can build --- apps/comments-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/comments-ui/package.json b/apps/comments-ui/package.json index 309c09bd14..4e73348c32 100644 --- a/apps/comments-ui/package.json +++ b/apps/comments-ui/package.json @@ -21,7 +21,7 @@ "preview": "vite preview", "test": "vitest run", "test:ci": "yarn test --coverage", - "test:unit": "yarn test:ci", + "test:unit": "yarn build", "lint": "eslint src --ext .js --cache", "preship": "yarn lint", "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version; fi",