Move testHelpers directory up one level

This commit is contained in:
2025-07-31 22:41:05 -04:00
parent b7299b8359
commit 14fbdc7408
28 changed files with 46 additions and 53 deletions

View File

@@ -0,0 +1,6 @@
import { expect } from "@jest/globals";
import { ApiResponseError } from "../src/loaders/ApiResponseError";
export async function assertAsyncCallbackThrowsApiResponseError(callback: () => Promise<any>) {
await expect(callback).rejects.toThrow(ApiResponseError);
}