summaryrefslogtreecommitdiff
path: root/spec/frontend/sidebar/components/copy
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/sidebar/components/copy')
-rw-r--r--spec/frontend/sidebar/components/copy/sidebar_reference_widget_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/sidebar/components/copy/sidebar_reference_widget_spec.js b/spec/frontend/sidebar/components/copy/sidebar_reference_widget_spec.js
index c5161a748a9..40f14d581dc 100644
--- a/spec/frontend/sidebar/components/copy/sidebar_reference_widget_spec.js
+++ b/spec/frontend/sidebar/components/copy/sidebar_reference_widget_spec.js
@@ -66,7 +66,7 @@ describe('Sidebar Reference Widget', () => {
});
describe('when error occurs', () => {
- it('calls createFlash with correct parameters', async () => {
+ it(`emits 'fetch-error' event with correct parameters`, async () => {
const mockError = new Error('mayday');
createComponent({