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

Fix typos. (#29178)

This commit is contained in:
XhmikosR 2019-07-31 16:14:21 +03:00 committed by GitHub
parent 3100dd3dab
commit eecd75db00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ describe('Alert', () => {
}) })
describe('data-api', () => { describe('data-api', () => {
it('should close an alert without instanciate it manually', () => { it('should close an alert without instantiate it manually', () => {
fixtureEl.innerHTML = [ fixtureEl.innerHTML = [
'<div class="alert">', '<div class="alert">',
' <button type="button" data-dismiss="alert">x</button>', ' <button type="button" data-dismiss="alert">x</button>',
@ -33,7 +33,7 @@ describe('Alert', () => {
expect(makeArray(document.querySelectorAll('.alert')).length).toEqual(0) expect(makeArray(document.querySelectorAll('.alert')).length).toEqual(0)
}) })
it('should close an alert without instanciate it manually with the parent selector', () => { it('should close an alert without instantiate it manually with the parent selector', () => {
fixtureEl.innerHTML = [ fixtureEl.innerHTML = [
'<div class="alert">', '<div class="alert">',
' <button type="button" data-target=".alert" data-dismiss="alert">x</button>', ' <button type="button" data-target=".alert" data-dismiss="alert">x</button>',

View file

@ -354,7 +354,7 @@ describe('Modal', () => {
modal.show() modal.show()
}) })
it('should close modal when a click occured on data-dismiss="modal"', done => { it('should close modal when a click occurred on data-dismiss="modal"', done => {
fixtureEl.innerHTML = [ fixtureEl.innerHTML = [
'<div class="modal fade">', '<div class="modal fade">',
' <div class="modal-dialog">', ' <div class="modal-dialog">',

View file

@ -415,7 +415,7 @@ describe('Tab', () => {
}) })
describe('data-api', () => { describe('data-api', () => {
it('should create dynamicaly a tab', done => { it('should create dynamically a tab', done => {
fixtureEl.innerHTML = [ fixtureEl.innerHTML = [
'<ul class="nav nav-tabs" role="tablist">', '<ul class="nav nav-tabs" role="tablist">',
' <li class="nav-item"><a href="#home" class="nav-link active" role="tab">Home</a></li>', ' <li class="nav-item"><a href="#home" class="nav-link active" role="tab">Home</a></li>',