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
This commit is contained in:
Daniel Lockyer 2023-06-22 10:01:07 +02:00
parent 8fc09b9433
commit 130c9c3c6f
No known key found for this signature in database

View File

@ -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",