Adding code to track visualization lifecycle events
This commit is contained in:
1 parent
c64e48946e
commit
7de0a6490a
2 files changed
+22
-1
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user