Skip to content

Instantly share code, notes, and snippets.

@TheSavior
Created August 22, 2016 05:39
Show Gist options
  • Save TheSavior/642b2cb32d09d594dbae55f75ffc171d to your computer and use it in GitHub Desktop.
Save TheSavior/642b2cb32d09d594dbae55f75ffc171d to your computer and use it in GitHub Desktop.
Runtime checks instead of compile time checks
try {
chai = function () {
throw new Error('Cannot find module \'chai\' from \'test-setup\'');
}();
} catch (err) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment