diff --git a/test/src/tests.js b/test/src/tests.js index ea964e0..41cbe76 100644 --- a/test/src/tests.js +++ b/test/src/tests.js @@ -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: ` but will be replaced by `appId: ` 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(); });