aboutsummaryrefslogtreecommitdiff
path: root/src/utils-mock.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils-mock.js')
-rw-r--r--src/utils-mock.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils-mock.js b/src/utils-mock.js
index 7ee3779..5457700 100644
--- a/src/utils-mock.js
+++ b/src/utils-mock.js
@@ -38,6 +38,15 @@ export function getUserId() {
return fetchStudentsMock.filter((s) => s.name === name)[0].id;
}
+export function getActivityUrl(name) {
+ switch (name) {
+ case "Cockpit":
+ return "cockpit.html";
+ default:
+ return "";
+ }
+}
+
export function getCourseId() {
return "1337";
}