Skip to content

Commit

Permalink
chore: remove unnecessary awaited nexttick()
Browse files Browse the repository at this point in the history
  • Loading branch information
muratmerdoglu-dp committed Jan 12, 2024
1 parent 9d320f9 commit 4d46762
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/organisms/DataFilter/FilterDialog.unit.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ComponentMountingOptions, mount } from "@vue/test-utils";
import { createTestingVuetify } from "@@/tests/test-utils/setup";
import FilterDialog from "./FilterDialog.vue";
import { nextTick } from "vue";

describe("@components/DataFilter/FilterDialog.vue", () => {
const mountComponent = (
Expand All @@ -24,7 +23,6 @@ describe("@components/DataFilter/FilterDialog.vue", () => {
it("should pass the props to dialog component", async () => {
const wrapper = mountComponent();
await wrapper.setProps({ isOpen: true });
await nextTick();
const dialog = wrapper.getComponent({ name: "v-dialog" });

expect(dialog.props("modelValue")).toBe(true);
Expand Down

0 comments on commit 4d46762

Please sign in to comment.