import { strict as assert } from 'node:assert'; import testUtils, { GLOBAL } from '../test-utils'; import WAIT from './WAIT'; describe('WAIT', () => { it('transformArguments', () => { assert.deepEqual( WAIT.transformArguments(0, 1), ['WAIT', '0', '1'] ); }); testUtils.testAll('wait', async client => { assert.equal( await client.wait(0, 1), 0 ); }, { client: GLOBAL.SERVERS.OPEN, cluster: GLOBAL.CLUSTERS.OPEN }); });