Fixed yarn test from top-level repo

- we probably don't want it to be this long term but it allows us to
  enable tests on the new packages
This commit is contained in:
Daniel Lockyer 2022-07-20 17:37:59 +02:00
parent b65816f421
commit 796961329a
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,8 @@
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || (exit 0)",
"main": "grunt shell:main && grunt subgrunt:init",
"build": "grunt build",
"test": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js --timeout=60000",
"test": "yarn test:unit",
"test:single": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js --timeout=60000",
"test:all": "yarn test:unit && yarn test:integration && yarn test:e2e && yarn lint",
"test:debug": "DEBUG=ghost:test* yarn test",
"test:unit": "c8 yarn test:unit:base",

View File

@ -15,7 +15,8 @@
"scripts": {
"dev": "yarn workspace ghost run dev",
"lint": "yarn workspaces run lint",
"start": "yarn workspace ghost run start"
"start": "yarn workspace ghost run start",
"test": "yarn workspaces run test"
},
"resolutions": {
"@tryghost/logging": "2.2.3",