diff --git a/integration-tests/js-compute/fixtures/app/src/dynamic-backend.js b/integration-tests/js-compute/fixtures/app/src/dynamic-backend.js index a3c3d12a81..e746aab347 100644 --- a/integration-tests/js-compute/fixtures/app/src/dynamic-backend.js +++ b/integration-tests/js-compute/fixtures/app/src/dynamic-backend.js @@ -57,7 +57,11 @@ routes.set('/backend/timeout', async () => { ); routes.set('/implicit-dynamic-backend/dynamic-backends-enabled', async () => { allowDynamicBackends(true); - await assertResolves(() => fetch('https://http-me.glitch.me/headers')); + await assertResolves(async () => { + const res = await fetch('https://http-me.glitch.me/headers'); + const backend = new Backend(res.backend); + strictEqual(backend.isSSL, true); + }); await assertResolves(() => fetch('https://www.fastly.com')); enforceExplicitBackends(); await assertRejects(() => fetch('https://www.fastly.com'));