I am writing some tests with wdio and mocha framework and my linter packages https://atom.io/packages/linter and https://atom.io/packages/linter-eslint display some problems (see comments):
describe('[On Board]', () => { //describe is not defined
before(() => { // before is not defined
browser.waitUntil() //browser is not defined
....
The undefined stuff will be taken care of the wdio / mocha Testrunner, so i would like to tell my linter / es-lint packages to ignore this problem.
Is this possible?
There are two options:
describe
and other variables are defined.