]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix unit tests in PhantomJS
authorDavid Bailey <techdavid@users.noreply.github.com>
Tue, 29 Aug 2017 11:01:41 +0000 (12:01 +0100)
committerDavid Bailey <techdavid@users.noreply.github.com>
Tue, 29 Aug 2017 11:01:41 +0000 (12:01 +0100)
commit2622a015f2d38673e3af92a3031ae8b2f2a9ce0f
treee7054f65a27fe4242e670713aac151cd09b0649c
parent3f2a8db4711e420b48b7a5b4c36f158a1b9eabab
Fix unit tests in PhantomJS

Use a virtual scrollbar as this is simpler than having a real one (overflow: scroll doesn't seem to work in Phantom), and disable it for the new test.

One test has also been altered to prevent erroneous fails when other inline styles are added to the body (e.g. overflow).
js/tests/unit/modal.js