blob: 536279f20500b7911e95b63ad50436df7201910b (
plain)
1
2
3
4
5
6
7
8
|
'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);
} else {
module.exports = require('./lib/main');
}
|