test: fix extensions console flake (#47750)

This commit is contained in:
Shelley Vohr
2025-07-16 18:27:20 +02:00
committed by GitHub
parent 5128ebeddb
commit 5feb91e2f4

View File

@@ -18,7 +18,7 @@ const uuid = require('uuid');
const fixtures = path.join(__dirname, 'fixtures');
describe('chrome extensions', () => {
const emptyPage = '<script>console.log("loaded")</script>';
const emptyPage = '<html><body><h1>EMPTY PAGE</h1></body></html>';
// NB. extensions are only allowed on http://, https:// and ftp:// (!) urls by default.
let server: http.Server;