fix: testing is aborted in "const" and "let" on Safari
fix typo: cont -> const