Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Mocha, fix deprecation warning regarding mocha.opts #88

Merged
merged 1 commit into from
Mar 2, 2020
Merged

Mocha, fix deprecation warning regarding mocha.opts #88

merged 1 commit into from
Mar 2, 2020

Conversation

larshp
Copy link
Contributor

@larshp larshp commented Mar 1, 2020

This fixes the deprecation warning

(node:3202) DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead.

see
https://dev.azure.com/ms/monaco-languages/_build/results?buildId=65072&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=bd05475d-acb5-5619-3ccb-c46842dbc997&l=18

when running tests

PLUS: .editorconfig and azure-pipelines.yml are now npm ignored

@larshp
Copy link
Contributor Author

larshp commented Mar 1, 2020

there are multiple options as to how and where to place the config, this places it as .mocharc.json

https://mochajs.org/#configuring-mocha-nodejs

@alexdima
Copy link
Member

alexdima commented Mar 2, 2020

Thank you!

@alexdima alexdima added this to the February 2020 milestone Mar 2, 2020
@alexdima alexdima merged commit a4e1adf into microsoft:master Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants