Created
March 9, 2014 02:46
-
-
Save kriskowal/9442223 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("", function () { | |
it("", function () { | |
var frame = window.open("blah.html?id=10"); | |
return inFrame(frame, function () { | |
expect(window.location).toEndWith("id=10"); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And where the callback on
inFrame
is serialized viatoString
to the test context.