Skip to content

Commit 06e1ab8

Browse files
committed
fix(repo): remove deep internal imports from tests
1 parent e81ec6e commit 06e1ab8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/core/supabase-js/test/deno/edge-functions-integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'node:buffer'
22
import { assertEquals, assertExists } from 'https://deno.land/std@0.220.1/assert/mod.ts'
3-
import { createClient } from '../../dist/module/index.js'
3+
import { createClient } from '../../dist/index.mjs'
44

55
// These tests are for integration testing with actual deployed edge functions
66
// To run these tests, you need to:

packages/core/supabase-js/test/deno/integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'node:buffer'
22
import { assertEquals, assertExists } from 'https://deno.land/std@0.220.1/assert/mod.ts'
3-
import { createClient, SupabaseClient } from '../../dist/module/index.js'
4-
import type { RealtimeChannel } from '../../dist/module/index.js'
3+
import { createClient, SupabaseClient } from '../../dist/index.mjs'
4+
import type { RealtimeChannel } from '../../dist/index.mjs'
55

66
// These tests assume that a local Supabase server is already running
77
// Start a local Supabase instance with 'supabase start' before running these tests

packages/core/supabase-js/test/deno/setup-deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ denoJson.imports = {
4949
'@supabase/functions-js': `npm:@supabase/functions-js@${versions.functions}`,
5050
'@supabase/postgrest-js': `npm:@supabase/postgrest-js@${versions.postgrest}`,
5151
'@supabase/auth-js': `npm:@supabase/auth-js@${versions.auth}`,
52-
'@supabase/storage-js': `npm:@supabase/storage-js@${versions.storage}/dist/module/index.js`,
52+
'@supabase/storage-js': `npm:@supabase/storage-js@${versions.storage}`,
5353
}
5454

5555
// Ensure Node types are available for Deno type-checking of .d.ts files

0 commit comments

Comments
 (0)