Skip to content

Commit

Permalink
fix(jest): use --rootDir option (#8754)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored May 8, 2023
1 parent c3a054c commit 80f51f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
"stylelint": "stylelint \"**/*.scss\"",
"test": "yarn prettier-check && yarn test:client && yarn test:kumascript && yarn test:content && yarn test:testing",
"test:client": "cd client && tsc --noEmit && cross-env NODE_ENV=test BABEL_ENV=test PUBLIC_URL='' node scripts/test.js --env=jsdom",
"test:content": "yarn jest content",
"test:content": "yarn jest --rootDir content",
"test:developing": "cross-env CONTENT_ROOT=mdn/content/files TESTING_DEVELOPING=true playwright test developing",
"test:headless": "playwright test headless",
"test:kumascript": "yarn jest kumascript --env=node",
"test:kumascript": "yarn jest --rootDir kumascript --env=node",
"test:prepare": "yarn build:prepare && yarn build && yarn start:static-server",
"test:testing": "yarn jest --rootDir testing",
"tool": "ts-node tool/cli.ts",
Expand Down

0 comments on commit 80f51f4

Please sign in to comment.