Commit acd66200 by Renzo Lucioni

Re-enable the Jasmine test

parent 0bf02cab
......@@ -3,10 +3,10 @@ describe 'Logger', ->
expect(window.log_event).toBe Logger.log
describe 'log', ->
# it 'sends an event to Segment.io, if the event is whitelisted', ->
# spyOn(analytics, 'track')
# Logger.log 'seq_goto', 'data'
# expect(analytics.track).toHaveBeenCalledWith 'seq_goto', 'data'
it 'sends an event to Segment.io, if the event is whitelisted', ->
spyOn(analytics, 'track')
Logger.log 'seq_goto', 'data'
expect(analytics.track).toHaveBeenCalledWith 'seq_goto', 'data'
it 'send a request to log event', ->
spyOn $, 'getWithPrefix'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment