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

Function log

spec/aether/lua_spec.js:130–133  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

128 it("self.doStuff via thisValue param", function() {
129 const history = [];
130 const log = function(s) {
131 expect(s).toEqual("hello");
132 return history.push(s);
133 };
134 const thisValue = {say: log};
135 thisValue.moveDown = function() {
136 expect(this).toEqual(thisValue);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected