From f1763b00f231d84ef010673f5d867cef4790d288 Mon Sep 17 00:00:00 2001 From: Brad White Date: Thu, 28 Sep 2023 10:18:00 -0600 Subject: [PATCH] Use expect-error --- x-pack/plugins/osquery/cypress/support/e2e.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/x-pack/plugins/osquery/cypress/support/e2e.ts b/x-pack/plugins/osquery/cypress/support/e2e.ts index 252405d74c12fb..929346edc23b6b 100644 --- a/x-pack/plugins/osquery/cypress/support/e2e.ts +++ b/x-pack/plugins/osquery/cypress/support/e2e.ts @@ -25,10 +25,7 @@ // force ESM in this module export {}; -// This module has some interesting ways of importing, check out the options in: -// https://github.com/cypress-io/cypress/blob/0871b03c5b21711cd23056454da8f23dcaca4950/npm/grep/README.md#support-file -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore +// @ts-expect-error ts(2306) module has some interesting ways of importing, see https://github.com/cypress-io/cypress/blob/0871b03c5b21711cd23056454da8f23dcaca4950/npm/grep/README.md#support-file import registerCypressGrep from '@cypress/grep'; registerCypressGrep();