This commit is contained in:
严浩
2025-07-15 23:50:50 +08:00
parent 2d3c805fb9
commit edd66080af
2 changed files with 80 additions and 286 deletions

View File

@@ -20,7 +20,7 @@ describe('Hello World worker', () => {
it('_', async () => {
const response = await SELF.fetch('http://example.com');
const responseText = await response.text();
console.debug(`responseText :>> `, responseText);
const jsonResponse = await response.json();
console.debug(`jsonResponse :>> `, jsonResponse);
});
});