Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 2571207

Browse files
author
Jonathan Kim
committed
Initialize immediately after load.
1 parent 0b95070 commit 2571207

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ var load = require('@segment/load-script');
1313
*/
1414

1515
var Appcues = integration('Appcues')
16-
.assumesPageview()
1716
.global('Appcues')
1817
.option('appcuesId', '');
1918

test/index.test.js

-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ describe('Appcues', function() {
3838

3939
it('should have the right settings', function() {
4040
analytics.compare(Appcues, integration('Appcues')
41-
.assumesPageview()
4241
.global('Appcues')
4342
.option('appcuesId', ''));
4443
});
@@ -55,7 +54,6 @@ describe('Appcues', function() {
5554
describe('#initialize', function() {
5655
it('should call #load', function() {
5756
analytics.initialize();
58-
analytics.page();
5957
analytics.called(appcues.load);
6058
});
6159
});
@@ -71,7 +69,6 @@ describe('Appcues', function() {
7169
beforeEach(function(done) {
7270
analytics.once('ready', done);
7371
analytics.initialize();
74-
analytics.page();
7572
});
7673

7774
describe('#page', function() {

0 commit comments

Comments
 (0)