Skip to content

Commit 99aa7b8

Browse files
committed
test: remove lower bound
1 parent 2283c38 commit 99aa7b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/integration/node-specific/resource_clean_up.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,7 @@ describe('Driver Resources', () => {
107107
await sleep(10);
108108
const promiseCountAfter = v8.queryObjects(Promise, { format: 'count' });
109109

110-
const offset = process.platform === 'win32' ? 30 : 5;
111-
expect(promiseCountAfter).to.be.within(
112-
promiseCountBefore - offset,
113-
promiseCountBefore + offset
114-
);
110+
expect(promiseCountAfter).to.be.lessThan(promiseCountBefore + 5);
115111
});
116112
});
117113
});

0 commit comments

Comments
 (0)