blob: 8e07367eb4736670dd5f58c2c5c5b9a0291dc5ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
'use strict';
const common = require('../common');
const path = require('path');
const assert = require('assert');
setTimeout(common.mustCall(function() {
const a = require(path.join(common.fixturesDir, 'a'));
assert.strictEqual(true, 'A' in a);
assert.strictEqual('A', a.A());
assert.strictEqual('D', a.D());
}), 50);
|