Skip to content

Commit 5abf0a6

Browse files
committed
fix config-location test
1 parent c2699ef commit 5abf0a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-packages/test-scenarios/fastboot-config-location-test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ appScenarios
9595
},
9696
redirect: 'manual',
9797
});
98-
if (response.status === 500) throw new Error(await response.body.text());
98+
if (response.status === 500) throw new Error(await response.text());
9999
assert.equal(response.status, 302);
100100
assert.equal(
101101
response.headers.get('location'),
@@ -114,7 +114,7 @@ appScenarios
114114
},
115115
}
116116
);
117-
if (response.status === 500) throw new Error(await response.body.text());
117+
if (response.status === 500) throw new Error(await response.text());
118118
assert.notOk(response.headers.has('x-fastboot-path'));
119119
});
120120
});

0 commit comments

Comments
 (0)