test: merge ongc and gcutil into gc.js
Description
This pull request merges the ongc.js
file and the gcUntil
function from common/index.js
into a single file. This addresses the TODO comment.
Changes Made
- Merged the contents of
ongc.js
and thegcUntil
function fromcommon/index.js
into thegc.js
file. - Updated any necessary imports or exports.
- Removed the original
ongc.js
file.
Tests
-
Added/updated tests for the merged functionality -
Ensured all existing tests pass
Documentation
-
Updated relevant documentation, if necessary