MCPcopy Create free account
hub / github.com/codecombat/codecombat / f

Function f

test/app/lib/ScriptManager.spec.js:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19 let gotEvent = {};
20 const f = event => gotEvent = event;
21 Backbone.Mediator.subscribe('cnn', f, this);
22 Backbone.Mediator.publish('pbs');
23 expect(gotEvent[1]).toBe(note.event[1]);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected