mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
Sync Node.js tests with upstream
This commit is contained in:
committed by
github-actions[bot]
parent
0f6161af81
commit
dcda307ecd
@@ -1,12 +1,12 @@
|
||||
// Flags: --allow_natives_syntax
|
||||
'use strict';
|
||||
// Flags: --allow-natives-syntax
|
||||
|
||||
const common = require('../common');
|
||||
const assert = require('assert');
|
||||
const http = require('http');
|
||||
|
||||
const server =
|
||||
http.createServer(onrequest).listen(0, common.localhostIPv4, () => next(0));
|
||||
http.createServer(onrequest).listen(0, common.localhostIPv4, () => next(0));
|
||||
|
||||
function onrequest(req, res) {
|
||||
res.end('ok');
|
||||
|
||||
Reference in New Issue
Block a user