Skip to content

Commit 30029a5

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 3d79af4 commit 30029a5

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

contentcuration/contentcuration/frontend/settings/pages/Account/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
:title="$tr('exportStartedHeader')"
145145
@submit="showExportDataNotice = false"
146146
>
147-
{{ $tr('exportAccountDataModalMessage') }}
147+
{{ $tr('exportAccountDataModalMessage') }}
148148
</KModal>
149149
</div>
150150

contentcuration/contentcuration/frontend/settings/pages/__tests__/account.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function makeWrapper(currentUser = {}) {
2525
$store: {
2626
dispatch: jest.fn(),
2727
},
28-
$tr: (text) => text,
28+
$tr: text => text,
2929
},
3030
});
3131
}
@@ -83,6 +83,8 @@ describe('account tab', () => {
8383
await wrapper.find('[data-test="export-link"]').trigger('click');
8484
expect(exportData).toHaveBeenCalled();
8585
expect(wrapper.vm.showExportDataNotice).toBe(false);
86-
expect(wrapper.vm.$store.dispatch).toHaveBeenCalledWith('showSnackbar', { text: wrapper.vm.$tr('exportFailed') });
86+
expect(wrapper.vm.$store.dispatch).toHaveBeenCalledWith('showSnackbar', {
87+
text: wrapper.vm.$tr('exportFailed'),
88+
});
8789
});
8890
});

0 commit comments

Comments
 (0)