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

Method register

app/views/editor/verifier/VerifierTest.js:196–203  ·  view source on GitHub ↗
(tokenSource)

Source from the content-addressed store, hash-verified

194 }
195
196 register (tokenSource) {
197 this.listenToOnce(this.god, 'infinite-loop', this.fail)
198 this.listenToOnce(this.god, 'user-code-problem', this.onUserCodeProblem)
199 this.listenToOnce(this.god, 'goals-calculated', this.processSingleGameResults)
200 this.god.createWorld({ spells: aetherUtils.generateSpellsObject({ level: this.level, levelSession: this.session, token: tokenSource }) })
201 this.state = 'running'
202 this.reportResults()
203 }
204
205 extractTestLogs () {
206 this.testLogs = []

Callers 1

Calls 1

reportResultsMethod · 0.95

Tested by

no test coverage detected