Skip to content

Commit

Permalink
fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-tavares committed Jul 22, 2023
1 parent 9a3eb9b commit f57bbe1
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -6,9 +6,9 @@
*/

import { AppFeatures } from '.';
import type { Logger } from '@kbn/core/server';
import type { AppFeatureKeys, ExperimentalFeatures } from '../../../common';
import type { PluginSetupContract } from '@kbn/features-plugin/server';
import { loggingSystemMock } from '@kbn/core-logging-server-mocks';

const SECURITY_BASE_CONFIG = {
foo: 'foo',
Expand Down Expand Up @@ -85,7 +85,7 @@ describe('AppFeatures', () => {
const appFeatureKeys = ['test-base-feature'] as unknown as AppFeatureKeys;

const appFeatures = new AppFeatures(
{} as unknown as Logger,
loggingSystemMock.create().get('mock'),
[] as unknown as ExperimentalFeatures
);
appFeatures.init(featuresSetup);
Expand All @@ -106,7 +106,7 @@ describe('AppFeatures', () => {
const appFeatureKeys = ['test-cases-feature'] as unknown as AppFeatureKeys;

const appFeatures = new AppFeatures(
{} as unknown as Logger,
loggingSystemMock.create().get('mock'),
[] as unknown as ExperimentalFeatures
);
appFeatures.init(featuresSetup);
Expand Down

0 comments on commit f57bbe1

Please sign in to comment.