1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-18 11:21:23 +02:00

Tests: Minor fixes (#35455)

This commit is contained in:
Louis-Maxime Piton
2021-12-02 11:01:11 +01:00
committed by GitHub
parent 385fea49e8
commit d8999dd566
7 changed files with 26 additions and 25 deletions

View File

@@ -277,8 +277,7 @@ describe('Modal', () => {
fixtureEl.innerHTML = [
'<button type="button" data-bs-dismiss="modal" data-bs-target="#modal1"></button>',
'<div id="modal1" class="modal fade">',
' <div class="modal-dialog">',
' </div>',
' <div class="modal-dialog"></div>',
'</div>'
].join('')
@@ -303,8 +302,7 @@ describe('Modal', () => {
it('should set .modal\'s scroll top to 0', done => {
fixtureEl.innerHTML = [
'<div class="modal fade">',
' <div class="modal-dialog">',
' </div>',
' <div class="modal-dialog"></div>',
'</div>'
].join('')