Prebid.js: Update unit tests to not use Arrow functions as recommended by Mocha

Created on 16 Aug 2018  ·  2Comments  ·  Source: prebid/Prebid.js

Type of issue

Bug

Description

Passing arrow functions (“lambdas”) to Mocha is discouraged.
https://mochajs.org/#arrow-functions

https://github.com/mochajs/mocha/issues/2018
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

assigned bug good first issue

Most helpful comment

I would be happy to take this.

All 2 comments

I would be happy to take this.

awesome, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tedrand picture tedrand  ·  4Comments

marvinferreira picture marvinferreira  ·  6Comments

nyfer picture nyfer  ·  5Comments

Rubioli picture Rubioli  ·  3Comments

gramorris picture gramorris  ·  6Comments