1 |
|
2 |
|
3 | const debug = require('debug')('mocha-chrome');
|
4 | const importLocal = require('import-local');
|
5 |
|
6 | // Prefer the local installation of AVA
|
7 | if (importLocal(__filename)) {
|
8 | debug('Using local install of mocha-chrome');
|
9 | } else {
|
10 | // eslint-disable-next-line global-require
|
11 | require('./lib/cli');
|
12 | }
|