Skip to content

Commit

Permalink
reset file
Browse files Browse the repository at this point in the history
  • Loading branch information
timarney committed Nov 25, 2024
1 parent aba6a22 commit d24cc25
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/store/__tests__/useTemplateStore.test.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* @jest-environment jsdom
*/
import React, {act} from "react";
import React from "react";
import { useTemplateStore, TemplateStoreProvider } from "../useTemplateStore";
import { renderHook } from "@testing-library/react";
import { renderHook, act } from "@testing-library/react";

const createStore = () => {
const wrapper = ({ children }: React.PropsWithChildren) => (
Expand Down Expand Up @@ -69,7 +69,6 @@ describe("TemplateStore", () => {
result.current.add(0);
result.current.add(1);
result.current.add(2);

});

expect(result.current.form.elements[0].id).toBe(1);
Expand Down

0 comments on commit d24cc25

Please sign in to comment.