Skip to content

Commit

Permalink
Remove the local analytics.js test files
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Aug 18, 2018
1 parent 9f732db commit e9ac57d
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 138 deletions.
48 changes: 0 additions & 48 deletions test/analytics.js

This file was deleted.

78 changes: 0 additions & 78 deletions test/analytics_debug.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/e2e/fixtures/autotrack-rename.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','_ga');
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/autotrack-reorder.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
</head>
<body>
</body>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/autotrack.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions test/e2e/fixtures/blank.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion test/e2e/fixtures/event-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/impression-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="/node_modules/intersection-observer/intersection-observer.js"></script>

<script async src="/autotrack.js"></script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<style>
html, body { margin: 0; overflow: auto; }
.spacer { height: 900px; }
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/max-scroll-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
<style>
body {margin: 0; height: 5000px}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/outbound-form-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/outbound-link-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/page-visibility-tracker-pageload.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
pageLoadsMetricIndex: 1,
});
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/social-widget-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta property="og:title" content="Social Tracker Test" />
<meta property="og:url" content="https://example.com" />

<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>

<script async id="twitter-wjs" src="https://platform.twitter.com/widgets.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/url-change-tracker.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<script async src="/autotrack.js"></script>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<script src="index.js"></script>

<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;</script>
<script async src="/test/analytics.js"></script>
<script async src="https://www.google-analytics.com/analytics.js"></script>

<script>
var runner = mocha.run();
Expand Down

0 comments on commit e9ac57d

Please sign in to comment.