Skip to content

Commit

Permalink
NEXT-33446 - fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Feb 6, 2024
1 parent 30279b8 commit 5bc4b18
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { mount, Wrapper } from "@vue/test-utils";
import SwFloatingUi from "./sw-floating-ui.vue";

// mock resizeOvserver
// mock resizeObserver
global.ResizeObserver = class ResizeObserver {
observe() {
// do nothing
Expand Down Expand Up @@ -90,7 +90,7 @@ describe("sw-floating-ui", () => {

it.only("should render the arrow when prop is set", async () => {
wrapper = createWrapper();

await wrapper.setProps({
showArrow: true,
isOpened: true,
Expand Down Expand Up @@ -124,11 +124,11 @@ describe("sw-floating-ui", () => {
});

await wrapper.destroy();

const floatingUi = document.querySelector(".sw-floating-ui");
const floatingUiContent = document.querySelector(".sw-floating-ui__content");

expect(floatingUi).toBeNull();
expect(floatingUiContent).toBeNull();
})
});
});

0 comments on commit 5bc4b18

Please sign in to comment.