Skip to content
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

update unit test example to mocha recommendations #3361

Merged
merged 2 commits into from
Dec 7, 2018

Conversation

jsnellbaker
Copy link
Collaborator

Type of change

  • Code style update (formatting, local variables)

Description of change

Update the sample code for unit tests to not use arrow function syntax (as recommended by mocha).

Refer to #2987 for details.

CONTRIBUTING.md Outdated
describe('<Adapter>', () => {
it('<description of unit or feature being tested>', () => {
describe('<Adapter>', function () => {
it('<description of unit or feature being tested>', function () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid syntax. Please remove => as well.

@jaiminpanchal27 jaiminpanchal27 merged commit 8fa2a84 into master Dec 7, 2018
@jsnellbaker jsnellbaker deleted the update_contributing_test_example branch March 18, 2019 13:38
pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
* update unit test example to mocha recommendations

* fix formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants