MCPcopy Index your code
hub / github.com/codecombat/codecombat / switchToStudentMode

Method switchToStudentMode

app/models/User.js:1336–1338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1334 }
1335
1336 switchToStudentMode () {
1337 return this.getTestStudentId().then(({ id }) => this.spy({ id }))
1338 }
1339
1340 switchToTeacherMode () {
1341 return this.switchToStudentMode()

Callers 1

switchToTeacherModeMethod · 0.95

Calls 2

getTestStudentIdMethod · 0.95
spyMethod · 0.95

Tested by

no test coverage detected