mirror of https://github.com/twbs/bootstrap.git
Corrected grammatical error in test descriptions (#30150)
"without instantiate it" should be "without instantiating it"
This commit is contained in:
parent
a880a582b7
commit
7a60dcf9b0
|
|
@ -20,7 +20,7 @@ describe('Alert', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('data-api', () => {
|
describe('data-api', () => {
|
||||||
it('should close an alert without instantiate it manually', () => {
|
it('should close an alert without instantiating 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 instantiate it manually with the parent selector', () => {
|
it('should close an alert without instantiating 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>',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue