Skip to content

Commit 04fd4ba

Browse files
committed
test ci
1 parent d1ab5c3 commit 04fd4ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/jest-core/src/__tests__/collectHandles.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ describe('collectHandles', () => {
3131

3232
it('should not collect the PerformanceObserver open handle', async () => {
3333
const handleCollector = collectHandles();
34-
const obs = new PerformanceObserver((list, observer) => {});
34+
35+
let obs = new PerformanceObserver((list, observer) => {});
3536
obs.observe({entryTypes: ['mark']});
37+
obs.disconnect();
38+
obs = null;
3639

3740
const openHandles = await handleCollector();
3841

0 commit comments

Comments
 (0)