blob: 7bb530a82392439c8a0856152cb567a8783250af (
plain)
1
2
3
4
5
6
7
8
9
|
// Resolve the async version we currently want to test
console.log(process.env.ASYNC_TEST);
if (typeof process === 'object' && process.env.ASYNC_TEST === 'build') {
console.log('testing built modules');
module.exports = require('../..');
} else {
console.log('testing source');
module.exports = require('../../lib');
}
|