Skip to content

Commit

Permalink
fix: broken assert
Browse files Browse the repository at this point in the history
  • Loading branch information
lino-levan committed Aug 22, 2023
1 parent 10ddd22 commit f0ce06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/stealth_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Deno.test("Testing stealth", async () => {
const userAgent: string = await page.evaluate(() => {
return navigator.userAgent;
});
assert(userAgent.toLowerCase().includes("headless"));
assert(!userAgent.toLowerCase().includes("headless"));

// Close browser
await browser.close();
Expand Down

0 comments on commit f0ce06f

Please sign in to comment.