New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start running build-cli tests in CI #11713
Conversation
| @@ -38,7 +38,8 @@ | |||
| "lint:fix": "npm run prettier:fix && npm run eslint:fix", | |||
| "prettier": "prettier --check .", | |||
| "prettier:fix": "prettier --write .", | |||
| "test": "mocha --forbid-only \"test/**/*.test.ts\" --unhandled-rejections=strict", | |||
| "test": "npm run test:mocha", | |||
| "test:mocha": "mocha --forbid-only \"test/**/*.test.ts\" --unhandled-rejections=strict", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move the declared params here into a mocha config file instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but this seems to be a common pattern in the repo, so I'll leave it as-is for consistency. Here's an example from the map package:
| "test:mocha": "mocha --unhandled-rejections=strict --recursive 'dist/test/mocha/**/*.spec.js' -r node_modules/@fluidframework/mocha-test-setup --exit", |
|
This commit is queued for merging with the |
This change just enables the mocha tests for the build-cli project to run in CI.