Changeset cae8ded in Klonkt for test/stats-bots.test.js
- Timestamp:
- 07/31/2026 11:03:47 AM (6 weeks ago)
- Branches:
- main
- Children:
- 0ca7e5d0
- Parents:
- 0f48411
- File:
-
- 1 edited
-
test/stats-bots.test.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
test/stats-bots.test.js
r0f48411 rcae8ded 35 35 }); 36 36 37 test("a Klonkt's own embed-fetcher does not count on another Klonkt", () => { 38 const before = pv(); 39 Stats.recordPageview('s1', fakeReq({ 'user-agent': 'Mozilla/5.0 (compatible; Klonkt/1.0; +https://klonkt.com)' })); 40 assert.equal(pv(), before); 41 }); 42 37 43 test('a SIGNED request never counts, whatever the UA claims', () => { 38 44 const before = pv();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)