Hey,
pretty new to testing but I don't find what is wrong with my code or if it could be a bug?
This is the piece of code that is throwing an error:
import { withSupawright } from "supawright";
import type { Database } from "~/types/supabase";
const test = withSupawright<Database, "public">(["public"]);
// test.use({ storageState: { cookies: [], origins: [] } });
test("can create transaction", async ({ supawright }) => {
console.log("context", supawright);
});
The only text I get is this:
1) [firefox] βΊ e2e/transactions.spec.ts:9:1 βΊ can create transaction βββββββββββββββββββββββββββββ
AggregateError:
1 failed
[firefox] βΊ e2e/transactions.spec.ts:9:1 βΊ can create transaction ββββββββββββββββββββββββββββββ
I have no idea what I'm doing wrong.
Any help would be appreciated thanks.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too