Skip to content

Commit ecc5842

Browse files
committed
test: fixup flaky test-performance-function-async test
The time assertion was inaccurate. Just remove it as it's not strictly necessary PR-URL: #37493 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 4eec919 commit ecc5842

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/parallel/test-performance-function-async.js

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ async function doIt() {
2626
const obs = new PerformanceObserver(common.mustCall((list) => {
2727
const entry = list.getEntries()[0];
2828
assert.strictEqual(entry.name, 'doIt');
29-
assert(entry.duration > 100);
3029
assert(check);
3130
obs.disconnect();
3231
}));

0 commit comments

Comments
 (0)