Skip to content

Commit

Permalink
tweak a test to find which versions fail
Browse files Browse the repository at this point in the history
  • Loading branch information
tlhunter committed Oct 3, 2023
1 parent 8035d0f commit 2ab1e3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test-diagnostics-channel-http-server-start.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ const test = require('tape');
const common = require('./common.js');
const { AsyncLocalStorage } = require('async_hooks');
const dc = require('../dc-polyfill.js');
const assert = require('assert');
const http = require('http');

const als = new AsyncLocalStorage();
let context;

test('test-diagnostics-channel-http-server-start', t => {
t.plan(12);
// Bind requests to an AsyncLocalStorage context
dc.subscribe('http.server.request.start', common.mustCall((message) => {
als.enterWith(message);
Expand Down Expand Up @@ -52,7 +52,6 @@ test('test-diagnostics-channel-http-server-start', t => {
res.resume();
res.on('end', () => {
server.close();
t.end();
});
});
});
Expand Down

0 comments on commit 2ab1e3f

Please sign in to comment.