From b43820e333e78bb98babf8c0f5d6eea832e3c207 Mon Sep 17 00:00:00 2001 From: Jason Stoltzfus Date: Tue, 2 Feb 2021 08:21:40 -0500 Subject: [PATCH] Private eyes --- .../plugins/enterprise_search/server/__mocks__/router.mock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts b/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts index 98a6c5b98e16e..819cabec44f07 100644 --- a/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts +++ b/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts @@ -81,7 +81,7 @@ export class MockRouter { expect(() => this.validateRoute(request)).toThrow(); }; - findRouteRegistration = () => { + private findRouteRegistration = () => { const routerCalls = this.router[this.method].mock.calls as any[]; if (!routerCalls.length) throw new Error('No routes registered.');