Skip to content

Commit

Permalink
Merge branch 'master' into CON-3264-fix-rust-quest-02
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodesu authored Dec 19, 2024
2 parents 535a012 + 0c8eb48 commit fb0ad22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/tests/elementary_test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Math.imul = undefined
eval = undefined
// /*/ // ⚡
export const tests = []
const t = (f) => tests.push(f)
Expand Down
5 changes: 5 additions & 0 deletions js/tests/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@ if test "$CODE_EDITOR_RUN_ONLY" = true; then
exit
fi

if test "$EXERCISE" = "elementary"; then
node --disallow-code-generation-from-strings /app/test.mjs "/jail/student" "${EXERCISE}"
exit
fi

node /app/test.mjs "/jail/student" "${EXERCISE}"

0 comments on commit fb0ad22

Please sign in to comment.