From b63066d630fd15acc98191825b9b513a911e4139 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 31 Oct 2020 09:25:33 +0200 Subject: toast.spec.js: fix typo (#32026) --- js/tests/unit/toast.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') 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') -- cgit v1.2.3