Skip to content

Update failed test tracking to support Mocha 6+ #39211

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

Merged
merged 2 commits into from
Jun 23, 2020

Conversation

rbuckton
Copy link
Contributor

Mocha deprecated --opts in Mocha 6 in favor of --config. Our failed test tracking previously used --opts, and is broken now that Mocha 7 has made --opts an error. This changes our failed test tracking to instead write a .failed-tests.json file in the new .mocharc.json format.

@rbuckton rbuckton force-pushed the update-failed-test-tracking branch from 1b962ef to 62af525 Compare June 23, 2020 20:58
@rbuckton rbuckton merged commit fbd1c95 into master Jun 23, 2020
@rbuckton rbuckton deleted the update-failed-test-tracking branch June 23, 2020 22:19
cangSDARM added a commit to cangSDARM/TypeScript that referenced this pull request Jun 24, 2020
* upstream/master:
  Do not add reexported names to the exportSpecifiers list of moduleinfo (microsoft#39213)
  Update user baselines (microsoft#39214)
  Leverage syntax cursor as part of reparse (microsoft#39216)
  Update failed test tracking to support Mocha 6+ (microsoft#39211)
  Update user baselines (microsoft#39196)
  LEGO: check in for master to temporary branch.

# Conflicts:
#	src/compiler/parser.ts
Jack-Works pushed a commit to Jack-Works/TypeScript that referenced this pull request Jun 24, 2020
* Update failed test tracking to support Mocha 6+

* grep should not be an array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants