@@ -3,6 +3,7 @@ import { assert, vi } from 'vitest'
3
3
import { type NetlifyPluginConstants , type NetlifyPluginOptions } from '@netlify/build'
4
4
import { resolveConfig as resolveNetlifyConfig } from '@netlify/config'
5
5
import { bundle , serve } from '@netlify/edge-bundler'
6
+ import { getURL as getBootstrapURL } from '@netlify/edge-functions-bootstrap/version'
6
7
import { zipFunctions } from '@netlify/zip-it-and-ship-it'
7
8
import { execaCommand } from 'execa'
8
9
import getPort from 'get-port'
@@ -32,8 +33,7 @@ import { BLOB_TOKEN } from './constants.mjs'
32
33
import { type FixtureTestContext } from './contexts.js'
33
34
import { setNextVersionInFixture } from './next-version-helpers.mjs'
34
35
35
- const bootstrapURL =
36
- 'https://6877afcf20679a00086bab1c--edge.netlify.com/bootstrap/index-combined.ts'
36
+ const bootstrapURL = await getBootstrapURL ( )
37
37
const actualCwd = await vi . importActual < typeof import ( 'process' ) > ( 'process' ) . then ( ( p ) => p . cwd ( ) )
38
38
const eszipHelper = join ( actualCwd , 'tools/deno/eszip.ts' )
39
39
0 commit comments