From 4a7d0ad4eeb6a07dd9739d62244854ee1b2c9f55 Mon Sep 17 00:00:00 2001 From: Alison Goryachev Date: Thu, 20 Jan 2022 12:26:57 -0500 Subject: [PATCH] fix cluster_nodes API test --- .../apis/management/index_management/cluster_nodes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/test/api_integration/apis/management/index_management/cluster_nodes.ts b/x-pack/test/api_integration/apis/management/index_management/cluster_nodes.ts index 30c12bf33d763..e885b677aaffb 100644 --- a/x-pack/test/api_integration/apis/management/index_management/cluster_nodes.ts +++ b/x-pack/test/api_integration/apis/management/index_management/cluster_nodes.ts @@ -19,7 +19,7 @@ export default function ({ getService }: FtrProviderContext) { it('should fetch the nodes plugins', async () => { const { body } = await getNodesPlugins().expect(200); - expect(body).eql([]); + expect(Array.isArray(body)).to.be(true); }); }); }