From 8ab819e560695a336110fa97d58f52df4d084a33 Mon Sep 17 00:00:00 2001 From: Dennis Pitcock Date: Fri, 18 Oct 2024 15:49:30 +0200 Subject: [PATCH] small fixes to tests, clearifying test names --- src/app-layout/__tests__/multi-layout-props.test.tsx | 2 +- src/app-layout/__tests__/multi-layout.test.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app-layout/__tests__/multi-layout-props.test.tsx b/src/app-layout/__tests__/multi-layout-props.test.tsx index 1fa49f76f7..1c92492c3c 100644 --- a/src/app-layout/__tests__/multi-layout-props.test.tsx +++ b/src/app-layout/__tests__/multi-layout-props.test.tsx @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -/* eslint-disable simple-import-sort/imports */ import React from 'react'; + import { mergeMultiAppLayoutProps, SharedMultiAppLayoutProps, diff --git a/src/app-layout/__tests__/multi-layout.test.tsx b/src/app-layout/__tests__/multi-layout.test.tsx index efb8720d78..f44aaf10de 100644 --- a/src/app-layout/__tests__/multi-layout.test.tsx +++ b/src/app-layout/__tests__/multi-layout.test.tsx @@ -75,7 +75,7 @@ describeEachAppLayout({ themes: ['refresh-toolbar'], sizes: ['desktop'] }, () => expect(isDrawerClosed(firstLayout.findNavigation())).toEqual(false); }); - test('merges navigation from two instances with navigation hidden in primary', async () => { + test('navigationHide in primary is respected when navigation is defined when merging from two instances', async () => { const { firstLayout, secondLayout } = await renderAsync( expect(secondLayout.findNavigationToggle()).toBeFalsy(); }); - test('merges tools from two instances with navigation hidden in secondary', async () => { + test('merges tools from two instances with where navigationHide is true in secondary', async () => { const { firstLayout, secondLayout } = await renderAsync(