mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Clean up
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
c2494379b8
commit
44560093dc
@ -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} />);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user