mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
c2494379b8
commit
44560093dc
1 file changed
+4
@@ -11,6 +11,10 @@ import "@testing-library/jest-dom/extend-expect";
|
|||||||
const update = jest.fn();
|
const update = jest.fn();
|
||||||
|
|
||||||
describe("<UpdateButton/>", () => {
|
describe("<UpdateButton/>", () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
update.mockClear();
|
||||||
|
});
|
||||||
|
|
||||||
it("should not render if no warning level prop passed", () => {
|
it("should not render if no warning level prop passed", () => {
|
||||||
const { queryByTestId } = render(<UpdateButton update={update} />);
|
const { queryByTestId } = render(<UpdateButton update={update} />);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user