Commit 4abab0bd authored by Jakob Moser's avatar Jakob Moser
Browse files

Add disableHandIn method

parent 9f090ff6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -291,6 +291,10 @@ export function test(name, exerciseCreationFunction) {
        exercise(name, execute) {
            const exerciseObj = new Exercise(name, this.exercises.length, execute)
            this.exercises.push(exerciseObj)
        },

        disableHandIn() {
            this.handInEnabled = false
        }
    }