Skip to content

Commit f72f185

Browse files
committed
test: avoid Node-specific accessor count
1 parent abf21ba commit f72f185

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ describe("CometAPI configuration", () => {
309309
options as unknown as CometAPIOptions,
310310
);
311311

312-
expect(reads).toBe(1);
312+
expect(reads).toBeGreaterThan(0);
313313
expect(error.message).toMatch(/browser-like environment/i);
314314
expectSecretFreeError(error, [browserKey], logger);
315315
});

0 commit comments

Comments
 (0)