Skip to content

Instantly share code, notes, and snippets.

@magnars
Created June 19, 2013 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magnars/5813202 to your computer and use it in GitHub Desktop.
Save magnars/5813202 to your computer and use it in GitHub Desktop.
(function () {
buster.testCase("dom", {
"assert.called fails in IE8, this is the minimal case": function () {
var spy = this.spy();
spy(document.createElement("input"));
assert.called(spy);
}
});
}());
@magnars
Copy link
Author

magnars commented Jun 19, 2013

It fails on the assert.called call, and never reaches sandbox.restore();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment