From 7c4fdcf47c0e6562fa3433f6ad5aed264d2459b4 Mon Sep 17 00:00:00 2001 From: streamich Date: Mon, 14 Sep 2020 16:24:42 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20correctly=20import=20func?= =?UTF-8?q?tion=20after=20refactor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/export_types/common/omit_banned_headers.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts b/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts index a83ea5df2ad2f..f1f7dbb6bb043 100644 --- a/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts +++ b/x-pack/plugins/reporting/server/export_types/common/omit_banned_headers.test.ts @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import { omitBlacklistedHeaders } from './index'; +import { omitBannedHeaders } from './index'; test(`omits banned headers`, async () => { const permittedHeaders = { @@ -24,7 +24,7 @@ test(`omits banned headers`, async () => { trailer: 's are for trucks', }; - const filteredHeaders = await omitBlacklistedHeaders({ + const filteredHeaders = await omitBannedHeaders({ job: { title: 'cool-job-bro', type: 'csv',