mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-24 09:58:43 -04:00
Update tests to use most recent jest and supporting libraries
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
Analytics.prototype.trackPageview = function (path, title, options) {
|
||||
|
||||
// strip UUIDs
|
||||
const page = (window.location.pathname + window.location.search).replace(
|
||||
const page = `${window.location.pathname}${window.location.search}`.replace(
|
||||
/[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}/g, '…'
|
||||
);
|
||||
window.ga('send', 'pageview', page);
|
||||
|
||||
Reference in New Issue
Block a user