mirror of
https://github.com/appium/appium.git
synced 2026-10-24 01:28:55 +08:00
ee00285b38
This PR makes `chai` and `should()` _globals_ when using Mocha: - `chai` is configured with `chai-as-promised` - A `.mocharc.js` requires `./test/setup.js` _from the monorepo root_. - Updated the ESLint config to recognize the globals. - Updated Wallaby config All instances of `import chai...` and the like have been removed from all test files.
8 lines
97 B
JavaScript
8 lines
97 B
JavaScript
// @ts-check
|
|
|
|
'use strict';
|
|
|
|
module.exports = {
|
|
require: require.resolve('./test/setup.js')
|
|
};
|