mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix: lint
This commit is contained in:
parent
c471f9797f
commit
3de96a2eaa
@ -93,7 +93,6 @@ describe('DeleteData.vue', () => {
|
||||
deleteAccountBtn = wrapper.find('[data-test="delete-button"]')
|
||||
})
|
||||
|
||||
|
||||
it("deletes user's posts and comments if requested by default", () => {
|
||||
mocks.$t.mockImplementation(() => deleteContributionsMessage)
|
||||
enableContributionDeletionCheckbox = wrapper.findAll('input[type="checkbox"]').at(0)
|
||||
@ -110,7 +109,6 @@ describe('DeleteData.vue', () => {
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
it('if deleteEnabled is true and only deletes user ', () => {
|
||||
mocks.$t.mockImplementation(() => deleteContributionsMessage)
|
||||
enableContributionDeletionCheckbox = wrapper.findAll('input[type="checkbox"]').at(0)
|
||||
@ -159,8 +157,6 @@ describe('DeleteData.vue', () => {
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
|
||||
it('shows a success toaster after successful mutation', async () => {
|
||||
await deleteAccountBtn.trigger('click')
|
||||
expect(mocks.$toast.success).toHaveBeenCalledTimes(1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user