MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / cookiesStudentExam

Function cookiesStudentExam

tests/testAccess.js:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 };
51
52 var cookiesStudentExam = function() {
53 var cookies = cookiesStudent();
54 cookies.setCookie(request.cookie('pl_requested_mode=Exam'), siteUrl);
55 return cookies;
56 };
57
58 var cookiesStudentExamBeforeCourseInstance = function() {
59 var cookies = cookiesStudentExam();

Calls 1

cookiesStudentFunction · 0.85

Tested by

no test coverage detected