diff --git a/x-pack/test/api_integration/apis/infra/log_entry_highlights.ts b/x-pack/test/api_integration/apis/infra/log_entry_highlights.ts index 22e00c8b10729..2adce3f1105be 100644 --- a/x-pack/test/api_integration/apis/infra/log_entry_highlights.ts +++ b/x-pack/test/api_integration/apis/infra/log_entry_highlights.ts @@ -121,9 +121,7 @@ export default function({ getService }: FtrProviderContext) { expect(logEntryHighlight.columns).to.have.length(3); expect(logEntryHighlight.columns[1]).to.have.property('field'); expect(logEntryHighlight.columns[1]).to.have.property('highlights'); - expect(logEntryHighlight.columns[1].highlights).to.eql([ - 'generate_test_data', - ]); + expect(logEntryHighlight.columns[1].highlights).to.eql(['generate_test_data']); expect(logEntryHighlight.columns[2]).to.have.property('message'); expect(logEntryHighlight.columns[2].message).to.be.an('array'); expect(logEntryHighlight.columns[2].message.length).to.be(1);