Skip to content

Instantly share code, notes, and snippets.

@jido
Created April 26, 2016 00:15
Show Gist options
  • Save jido/c22947e171c7e76314d865686583c5a5 to your computer and use it in GitHub Desktop.
Save jido/c22947e171c7e76314d865686583c5a5 to your computer and use it in GitHub Desktop.
var Promise messes up the test
var mistigri = (function(){
/*
if (Promise === undefined)
{
console.log("Making a fake Promise");
var Promise = function Promise(execute) {
this.then = execute; // Mistigri always returns, even if it ran into problems
this.catch = function(onrej) {
return this;
}
}
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment