UNPKG

ava

Version:

Testing can be a drag. AVA helps you get it done.

9 lines (7 loc) 269 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); } else { module.exports = require('./lib/worker/main'); }