Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: only use JSR for Edge Function testing example (#34979)

Nils Reichardt0457764b7afd
diff --git a/apps/docs/content/guides/functions/unit-test.mdx b/apps/docs/content/guides/functions/unit-test.mdx
index 2f9ae46367d..058c4a3275f 100644
--- a/apps/docs/content/guides/functions/unit-test.mdx
+++ b/apps/docs/content/guides/functions/unit-test.mdx
@@ -34,11 +34,11 @@ The following script is a good example to get started with testing your Edge Fun
```typescript function-one-test.ts
// Import required libraries and modules
-import { assert, assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
+import { assert, assertEquals } from 'jsr:@std/assert@1'
import { createClient, SupabaseClient } from 'jsr:@supabase/supabase-js@2'
// Will load the .env file to Deno.env
-import 'https://deno.land/x/[email protected]/load.ts'
+import 'jsr:@std/dotenv/load'
// Set up the configuration for the Supabase client
const supabaseUrl = Deno.env.get('SUPABASE_URL') ?? ''