Skip to content

Commit

Permalink
Update test/src/tests.js
Browse files Browse the repository at this point in the history
Co-authored-by: Alex S <[email protected]>
  • Loading branch information
SbDove and alexs-mparticle authored Jun 26, 2024
1 parent 92e6ca9 commit d7e4dd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/src/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ describe('Heap Forwarder', function () {

window.heap.should.be.ok;
window.heap.track.should.be.ok;
// The Heap SDK initializes with a stubbed object that contains
// `envId: <app-id>` but will be replaced by `appId: <app-id>` once
// Heap fully initializes. For the purposes of our test framework,
// we test to make sure the stubbed methods are initialized.
window.heap.envId.should.equal('test-app-id');
done();
});
Expand Down

0 comments on commit d7e4dd0

Please sign in to comment.