= ({
{showTimeline &&
numberOfPinnedEvents > 0 &&
timelineType === TimelineTypeEnum.default && (
-
- {numberOfPinnedEvents}
-
+ {numberOfPinnedEvents}
)}
diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/notes/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/notes/index.test.tsx
index 4de3728e2290f..452dc1620b946 100644
--- a/x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/notes/index.test.tsx
+++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/notes/index.test.tsx
@@ -70,14 +70,14 @@ const mockGlobalStateWithUnSavedTimeline: State = {
describe('NotesTabContentComponent', () => {
beforeEach(() => {
jest.clearAllMocks();
- (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(true);
+ (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(false);
(useUserPrivileges as jest.Mock).mockReturnValue({
kibanaSecuritySolutionsPrivileges: { crud: true },
});
});
it('should show the old note system', () => {
- (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(false);
+ (useIsExperimentalFeatureEnabled as jest.Mock).mockReturnValue(true);
const { getByTestId, queryByTestId } = render(