From: XhmikosR Date: Sat, 31 Oct 2020 07:25:33 +0000 (+0200) Subject: toast.spec.js: fix typo (#32026) X-Git-Tag: v5.0.0-alpha3~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63066d630fd15acc98191825b9b513a911e4139;p=thirdparty%2Fbootstrap.git toast.spec.js: fix typo (#32026) --- diff --git a/js/tests/unit/toast.spec.js b/js/tests/unit/toast.spec.js index 031c841afa..1641ded666 100644 --- a/js/tests/unit/toast.spec.js +++ b/js/tests/unit/toast.spec.js @@ -381,7 +381,7 @@ describe('Toast', () => { }) describe('getInstance', () => { - it('should return collapse instance', () => { + it('should return a toast instance', () => { fixtureEl.innerHTML = '
' 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 = '
' const div = fixtureEl.querySelector('div')