Skip to content

Commit

Permalink
fix: flaky injector test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin committed Apr 5, 2023
1 parent 63703a2 commit d7ae255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fingerprint-injector/fingerprint-injector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('FingerprintInjector', () => {
}
});

if (!browserVendor || !browserRenderer) {
if (browserVendor === null || browserRenderer === null) {
// this can happen with headless browsers / systems without hardware graphical accelerators - e.g. CI
expect(browserVendor).toBeNull();
expect(browserRenderer).toBeNull();
Expand Down

0 comments on commit d7ae255

Please sign in to comment.