9 lines
311 B
JavaScript
9 lines
311 B
JavaScript
'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');
|
|
}
|