Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Nov 8, 2022
1 parent c0755cf commit b3123fa
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { FleetStatusProvider, ConfigContext, KibanaVersionContext } from '../../

import { getMockTheme } from '../../../../../../mocks';

import { ExperimentalFeaturesService } from '../../../../services';

import { SearchAndFilterBar } from './search_and_filter_bar';

const mockTheme = getMockTheme({
Expand Down Expand Up @@ -49,6 +51,14 @@ const TestComponent = (props: any) => (
);

describe('SearchAndFilterBar', () => {
beforeAll(() => {
ExperimentalFeaturesService.init({
createPackagePolicyMultiPageLayout: true,
packageVerification: true,
showDevtoolsRequest: false,
showRequestDiagnostics: false,
});
});
it('should show no Actions button when no agent is selected', async () => {
const selectedAgents: Agent[] = [];
const props: any = {
Expand Down

0 comments on commit b3123fa

Please sign in to comment.