We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bcaba2 commit decc429Copy full SHA for decc429
test/builtins/fetch.js
@@ -15,9 +15,11 @@ export const state = async () => {
15
16
export const source = (testState) => {
17
let port = testState?.port ? ':' + testState.port : '';
18
+ const url = FETCH_URL + port;
19
+ console.error('[test] fetch.js visiting URL', url);
20
return `
21
export async function run () {
- const res = await fetch('${FETCH_URL}${port}');
22
+ const res = await fetch('${url}');
23
const source = await res.json();
24
console.log(source.url);
25
}
0 commit comments