Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
switchToTeacherMode
Method · 0.95
Calls
2
getTestStudentId
Method · 0.95
spy
Method · 0.95
Tested by
no test coverage detected