-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add educator service stubs and tests #943
Comments
ref virtualcommons#943 Co-authored-by: Sabrina Nelson <[email protected]> Co-authored-by: Kelly Tran <[email protected]> Co-authored-by: Allen Lee <[email protected]>
classroom.authToken (game code):should be short (4/5 characters) student.rejoinCode:should be a bit longer due to needing more of them but still easily memorized or transcribed by a student teacher.password:considerably longer just for better security something to note is that a helper function can be shared between generation functions if the strategy for creating the code is similar by taking in some parameter to determine the length, i.e. a word count or character count all should be guaranteed to be unique by attempting to generate a code, checking for uniqueness in the db, then trying again in case of a collision. Alternatively, these all have a unique constraint in the db so inserting a non-unique value will raise an error, which can be taken advantage of with a |
ref virtualcommons#943 Co-authored-by: Sabrina Nelson <[email protected]> Co-authored-by: Kelly Tran <[email protected]> Co-authored-by: Allen Lee <[email protected]>
ref virtualcommons#943 Co-authored-by: Sabrina Nelson <[email protected]> Co-authored-by: Kelly Tran <[email protected]> Co-authored-by: Allen Lee <[email protected]>
ref virtualcommons#943 Co-authored-by: Sabrina Nelson <[email protected]> Co-authored-by: Kelly Tran <[email protected]> Co-authored-by: Allen Lee <[email protected]>
ref virtualcommons#943 Co-authored-by: Sabrina Nelson <[email protected]> Co-authored-by: Kelly Tran <[email protected]> Co-authored-by: Allen Lee <[email protected]>
Educators should be able to:
Students should be able to:
Jest test stubs currently in
test/services/educator.test.ts
Jest documentation:
https://jestjs.io/docs/getting-started
The text was updated successfully, but these errors were encountered: