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 <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
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‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ async function doIt(){
2626
constobs=newPerformanceObserver(common.mustCall((list)=>{
2727
constentry=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)