diff options
Diffstat (limited to 'src/utils-mock.js')
| -rw-r--r-- | src/utils-mock.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/utils-mock.js b/src/utils-mock.js index 99455f9..cd3c10c 100644 --- a/src/utils-mock.js +++ b/src/utils-mock.js @@ -1,6 +1,7 @@ import { fetchStudentsMock, getName } from "./mock.ts"; export { getName } from "./mock.ts"; export { + CourseLocalStorage, DATE_FMT, DATETIME_FMT, dateStringNow, @@ -43,13 +44,3 @@ export function getCourseParticipantsUrl() { console.error("Try to get mocked participations URL"); return ""; } - -export class CourseLocalStorage { - static getItem(key) { - return localStorage.getItem(`${key}-mock`); - } - - static setItem(key, val) { - return localStorage.setItem(`${key}-mock`, val); - } -} |
