1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 06:36:33 +02:00

Corrected grammatical error in test descriptions (#30150)

"without instantiate it" should be "without instantiating it"
This commit is contained in:
yonikohen
2020-02-10 02:35:13 -05:00
committed by GitHub
parent a880a582b7
commit 7a60dcf9b0

View File

@@ -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>',