mirror of https://github.com/lukechilds/ava.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
312 B
8 lines
312 B
'use strict';
|
|
|
|
// Ensure the same AVA install is loaded by the test file as by the test worker.
|
|
if (process.env.AVA_PATH && process.env.AVA_PATH !== __dirname) {
|
|
module.exports = require(process.env.AVA_PATH); // eslint-disable-line import/no-dynamic-require
|
|
} else {
|
|
module.exports = require('./lib/main');
|
|
}
|
|
|