mirror of https://github.com/nodejs/node.git
13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
'use strict';
|
|
|
|
const common = require('../../common');
|
|
const assert = require('assert');
|
|
const { testResolveAsync } = require(`./build/${common.buildType}/binding`);
|
|
|
|
common.crashOnUnhandledRejection();
|
|
|
|
let called = false;
|
|
testResolveAsync().then(() => { called = true; });
|
|
|
|
setTimeout(() => { assert(called); }, common.platformTimeout(50));
|