Skip to content

Commit

Permalink
added empty test
Browse files Browse the repository at this point in the history
  • Loading branch information
turtledreams committed Jan 4, 2024
1 parent d448a23 commit 37ba217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/user_agent.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ describe("User Agent tests ", () => {
hp.haltAndClearStorage(() => {
initMain();
// setting ua value to strings that can pass the regex test
expect(Countly._internals.userAgentSearchBotDetection("")).to.equal(false);
expect(Countly._internals.userAgentSearchBotDetection("123")).to.equal(false);
expect(Countly._internals.userAgentSearchBotDetection("Googlebot")).to.equal(true);
expect(Countly._internals.userAgentSearchBotDetection("Google")).to.equal(false);
Expand Down

0 comments on commit 37ba217

Please sign in to comment.