Skip to content

Commit 2d18b36

Browse files
committed
fix hello test to test if modules is an array
1 parent 91ed69e commit 2d18b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/lib/commands/HELLO.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('HELLO', () => {
6363
assert.equal(typeof reply.id, 'number');
6464
assert.equal(reply.mode, 'standalone');
6565
assert.equal(reply.role, 'master');
66-
assert.equal('modules' in reply, true);
66+
assert.ok(reply.modules instanceof Array);
6767
}, {
6868
...GLOBAL.SERVERS.OPEN,
6969
minimumDockerVersion: [6, 2]

0 commit comments

Comments
 (0)