1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 05:03:16 +02:00

toast.spec.js: fix typo (#32026)

This commit is contained in:
XhmikosR
2020-10-31 09:25:33 +02:00
committed by GitHub
parent 9cedf5b81e
commit b63066d630

View File

@@ -381,7 +381,7 @@ describe('Toast', () => {
}) })
describe('getInstance', () => { describe('getInstance', () => {
it('should return collapse instance', () => { it('should return a toast instance', () => {
fixtureEl.innerHTML = '<div></div>' fixtureEl.innerHTML = '<div></div>'
const div = fixtureEl.querySelector('div') const div = fixtureEl.querySelector('div')
@@ -390,7 +390,7 @@ describe('Toast', () => {
expect(Toast.getInstance(div)).toEqual(toast) expect(Toast.getInstance(div)).toEqual(toast)
}) })
it('should return null when there is no collapse instance', () => { it('should return null when there is no toast instance', () => {
fixtureEl.innerHTML = '<div></div>' fixtureEl.innerHTML = '<div></div>'
const div = fixtureEl.querySelector('div') const div = fixtureEl.querySelector('div')