Commit 4b73997f authored by Paul Slaughter's avatar Paul Slaughter

Fix prettier on mr_widget_options_spec

parent 87e532b9
...@@ -15,7 +15,7 @@ import { SUCCESS } from '~/vue_merge_request_widget/components/deployment/consta ...@@ -15,7 +15,7 @@ import { SUCCESS } from '~/vue_merge_request_widget/components/deployment/consta
jest.mock('~/smart_interval'); jest.mock('~/smart_interval');
jest.mock('~/lib/utils/favicon') jest.mock('~/lib/utils/favicon');
const returnPromise = (data) => const returnPromise = (data) =>
new Promise((resolve) => { new Promise((resolve) => {
...@@ -427,11 +427,9 @@ describe('mrWidgetOptions', () => { ...@@ -427,11 +427,9 @@ describe('mrWidgetOptions', () => {
it('should call setFavicon method', async () => { it('should call setFavicon method', async () => {
vm.mr.ciStatusFaviconPath = overlayDataUrl; vm.mr.ciStatusFaviconPath = overlayDataUrl;
await vm.setFaviconHelper() await vm.setFaviconHelper();
expect(setFaviconOverlay).toHaveBeenCalledWith( expect(setFaviconOverlay).toHaveBeenCalledWith(overlayDataUrl);
overlayDataUrl
);
}); });
it('should not call setFavicon when there is no ciStatusFaviconPath', (done) => { it('should not call setFavicon when there is no ciStatusFaviconPath', (done) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment