Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Sep 11, 2024
1 parent 3b729f0 commit af84d72
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions packages/resource/test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import { catchError, createEffect, createResource, createRoot, createSignal, on } from "solid-js";
import { describe, test, expect, vi, afterAll, beforeEach, beforeAll } from "vitest";
import {
makeAbortable,
createAggregated,
serializer,
makeCache,
makeRetrying,
createDeepSignal,
} from "../src/index.js";

export function testEffect<T extends any = void>(
fn: (done: (result: T) => void) => void
Expand Down Expand Up @@ -28,15 +36,6 @@ class AbortError extends Error {
name = "AbortError";
}

import {
makeAbortable,
createAggregated,
serializer,
makeCache,
makeRetrying,
createDeepSignal,
} from "../src/index.js";

beforeAll(() => {
vi.useFakeTimers();
});
Expand Down

0 comments on commit af84d72

Please sign in to comment.