Adding code to track visualization lifecycle events

This commit is contained in:
Jeff Avallone committed 2014-12-17 19:54:58 -05:00
1 parent c64e48946e
commit 7de0a6490a
2 files changed
+22 -1

No files matched your search

+9
View File
@@ -258,6 +258,15 @@ describe('regexper.js', function() {
});
describe('#trackEvent', function() {
it('adds a _trackEvent call to gaq', function() {
this.regexper._trackEvent('category', 'action');
expect(this.regexper.gaq).toContain(['_trackEvent', 'category', 'action']);
});
});
describe('#showExpression', function() {
beforeEach(function() {