test: merge ongc and gcutil into gc.js

PR-URL: https://github.com/nodejs/node/pull/54355
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
tannal
2024-08-13 18:28:21 +08:00
committed by Chengzhong Wu
parent 7616855b2a
commit 0b6b2a4dc7
32 changed files with 122 additions and 101 deletions

View File

@@ -7,7 +7,8 @@
// and symbol types, while in newer versions they can be created for
// any value type.
//
const { gcUntil, buildType } = require('../../common');
const { buildType } = require('../../common');
const { gcUntil } = require('../../common/gc');
const assert = require('assert');
const addon_v8 = require(`./build/${buildType}/test_reference_obj_only`);
const addon_new = require(`./build/${buildType}/test_reference_all_types`);