]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
toast.spec.js: fix typo (#32026)
authorXhmikosR <xhmikosr@gmail.com>
Sat, 31 Oct 2020 07:25:33 +0000 (09:25 +0200)
committerGitHub <noreply@github.com>
Sat, 31 Oct 2020 07:25:33 +0000 (09:25 +0200)
js/tests/unit/toast.spec.js

index 031c841afa0824df9f09f1ca8b816f3622d96312..1641ded66642487a7c7481c916cf1303486a7e9e 100644 (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')