Skip to content

Commit 678874a

Browse files
author
Katie George
committed
chore: Removes unused utils
1 parent 713daf6 commit 678874a

File tree

5 files changed

+2
-70
lines changed

5 files changed

+2
-70
lines changed

src/__tests__/base-props-support.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33
import { ReactElement } from "react";
4-
import { render, screen } from "@testing-library/react";
4+
import { render } from "@testing-library/react";
55
import { describe, expect, test } from "vitest";
66

77
import { defaultProps } from "./default-props";
@@ -18,7 +18,6 @@ describe.each<string>(getAllComponents())(`base props support for %s`, async (co
1818
test("should allow data-attributes", () => {
1919
const { container } = renderComponent(<Component {...props} data-testid="example" />);
2020

21-
screen.debug(container);
2221
expect(container.firstElementChild).toHaveAttribute("data-testid", "example");
2322
});
2423

src/internal/tab-trap/index.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/internal/tab-trap/styles.scss

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/internal/utils/element-types.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/support-prompt-group/internal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import clsx from "clsx";
55

66
import {
77
circleIndex,
8-
//SingleTabStopNavigationProvider,
8+
// SingleTabStopNavigationProvider,
99
getAllFocusables,
1010
handleKey,
1111
KeyCode,

0 commit comments

Comments
 (0)