Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
resolve(file, 'test', function (err, txs) {
if (err) { t.fail(err); return t.end(); }
t.equal(txs.length, 1, 'one transform');
t.deepEqual(txs[0].toString(), require('brfs').toString(), 'resolves the transforms');
t.end();
});
})