index.js 269 B

123456789
  1. 'use strict';
  2. // Ensure the same AVA install is loaded by the test file as by the test worker
  3. if (process.env.AVA_PATH && process.env.AVA_PATH !== __dirname) {
  4. module.exports = require(process.env.AVA_PATH);
  5. } else {
  6. module.exports = require('./lib/worker/main');
  7. }