0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -381,7 +381,7 @@ describe('Toast', () => {
})
describe('getInstance', () => {
it('should return collapse instance', () => {
it('should return a toast instance', () => {
fixtureEl.innerHTML = '<div></div>'
const div = fixtureEl.querySelector('div')
@ -390,7 +390,7 @@ describe('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>'
const div = fixtureEl.querySelector('div')