Skip to content

Commit 1ade755

Browse files
committed
Update Callout test with new icon
1 parent 214c490 commit 1ade755

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/core/src/components/callout/callout.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import { render, screen } from "@testing-library/react";
1818

19-
import { IconNames } from "@blueprintjs/icons";
2019
import { describe, expect, it } from "@blueprintjs/test-commons/vitest";
2120

2221
import { Classes, Intent } from "../../common";
@@ -53,7 +52,7 @@ describe("<Callout>", () => {
5352
it(`should render the associated default icon when intent="primary"`, () => {
5453
const { container } = render(<Callout intent={Intent.PRIMARY} />);
5554

56-
expect(container.querySelector(`[data-icon="${IconNames.INFO_SIGN}"]`)).to.exist;
55+
expect(container.querySelector(`[data-icon="circle-info"]`)).to.exist;
5756
});
5857

5958
it("should remove intent icon when icon=null", () => {

0 commit comments

Comments
 (0)