A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/5936cef60a below:

add disposable histogram test · nodejs/node@5936cef · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+11

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+11

-0

lines changed Original file line number Diff line number Diff line change

@@ -97,6 +97,17 @@ const { inspect } = require('util');

97 97

}, 50);

98 98

}

99 99 100 +

{

101 +

// Tests that the ELD histogram is disposable

102 +

let histogram;

103 +

{

104 +

using hi = monitorEventLoopDelay();

105 +

histogram = hi;

106 +

}

107 +

// The histogram should already be disabled.

108 +

strictEqual(histogram.disable(), false);

109 +

}

110 + 100 111

{

101 112

const h = createHistogram();

102 113

ok(inspect(h, { depth: null }).startsWith('Histogram'));

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4