Skip to content

Commit

Permalink
chore: enable tests again to wait for bun to fix the related bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
psteinroe committed Dec 21, 2023
1 parent 0234231 commit 0610184
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions test/fastify-supabase.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ describe("fastify-supabase", () => {
expect(fastify.supabaseClient).toBeTruthy();
});

// fastify.inject is not yet supported in bun: https://github.com/oven-sh/bun/pull/7485
test.skip("service role", async () => {
test("service role", async () => {
const tracker = mock(() => {
// noop
});
Expand All @@ -105,8 +104,7 @@ describe("fastify-supabase", () => {
expect(tracker).toHaveBeenCalledTimes(1);
});

// fastify.inject is not yet supported in bun: https://github.com/oven-sh/bun/pull/7485
test.skip("anon role", async () => {
test("anon role", async () => {
const tracker = mock(() => {
// noop
});
Expand All @@ -131,8 +129,7 @@ describe("fastify-supabase", () => {
expect(tracker).toHaveBeenCalledTimes(1);
});

// fastify.inject is not yet supported in bun: https://github.com/oven-sh/bun/pull/7485
test.skip("user role", async () => {
test("user role", async () => {
const tracker = mock(() => {
// noop
});
Expand All @@ -157,8 +154,7 @@ describe("fastify-supabase", () => {
expect(tracker).toHaveBeenCalledTimes(1);
});

// fastify.inject is not yet supported in bun: https://github.com/oven-sh/bun/pull/7485
test.skip("client cache", async () => {
test("client cache", async () => {
const tracker = mock(() => {
// noop
});
Expand Down

0 comments on commit 0610184

Please sign in to comment.