We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27623f commit a13b36cCopy full SHA for a13b36c
test/threadsafe_function/threadsafe_function.js
@@ -4,10 +4,10 @@ const buildType = process.config.target_defaults.default_configuration;
4
const assert = require('assert');
5
const common = require('../common');
6
7
-module.exports = async function() {
+module.exports = (async function() {
8
await test(require(`../build/${buildType}/binding.node`));
9
await test(require(`../build/${buildType}/binding_noexcept.node`));
10
-};
+})();
11
12
async function test(binding) {
13
const expectedArray = (function(arrayLength) {
0 commit comments