We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7af1d commit d0a161fCopy full SHA for d0a161f
test/test-pushstate.js
@@ -1,6 +1,5 @@
1
const { expect } = require("chai");
2
const UUIDvalidate = require("uuid-validate");
3
-const { CI } = require("./constants");
4
const { getRequests } = require("./helpers");
5
6
module.exports = async () => {
@@ -31,6 +30,9 @@ module.exports = async () => {
31
30
"project=project_x"
32
);
33
+ // Seconds page referrer should be the first page (ending with /)
34
+ expect(pageViewRequests[1].body.referrer).to.be.a("string").and.match(/\/$/i);
35
+
36
pageViewRequests.map((request) => {
37
expect(
38
request,
0 commit comments