1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge pull request #14931 from twbs/fix-ios-unit-test-failures

Fix the iOS 8 unit test failures
This commit is contained in:
Heinrich Fenkart 2014-10-30 09:46:49 +01:00
commit 25ab1539a9

View file

@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>Bootstrap Plugin Test Suite</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- jQuery -->
<script src="vendor/jquery.min.js"></script>
@ -14,6 +15,11 @@
#qunit-tests > li.pass {
display: none;/* Make it easier to see failing tests is Sauce screencasts */
}
#qunit-fixture {
top: 0;
left: 0;
}
</style>
<script>
// See https://github.com/axemclion/grunt-saucelabs#test-result-details-with-qunit
@ -36,6 +42,7 @@
})
QUnit.testStart(function (testDetails) {
$(window).scrollTop(0)
QUnit.log = function (details) {
if (!details.result) {
details.name = testDetails.name