Welcome redditors! I’m answering your questions in the comment thread.
restricter plugin, then combine it with the
restrictmode.js prelude and run it. Then hook it up with your units tests.
Try restrict mode directly in your browser (Firefox, Chrome or Safari)!
Follow me on Twitter