mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
tools: add lint rule to ensure assertions are reached
PR-URL: https://github.com/nodejs/node/pull/60125 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
47 files changed
+458
-217
No files matched your search
@@ -7,7 +7,7 @@
|
||||
// and symbol types, while in newer versions they can be created for
|
||||
// any value type.
|
||||
//
|
||||
const { buildType } = require('../../common');
|
||||
const { mustCall, buildType } = require('../../common');
|
||||
const { gcUntil } = require('../../common/gc');
|
||||
const assert = require('assert');
|
||||
const addon_v8 = require(`./build/${buildType}/test_reference_obj_only`);
|
||||
@@ -122,4 +122,4 @@ async function runAllTests() {
|
||||
await runTests(addon_new, /* isVersion8 */ false, /* isLocalSymbol */ false);
|
||||
}
|
||||
|
||||
runAllTests();
|
||||
runAllTests().then(mustCall());
|
||||
Reference in new issue
Block a user