Skip to content

Commit

Permalink
chore: use n/no-callback-literal
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 17, 2022
1 parent 0e5ccc4 commit c3ff242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/sync-settings-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ describe('syncSettings', () => {

describe('delete', () => {
it('confirms and calls delete', async () => {
// eslint-disable-next-line node/no-callback-literal
// eslint-disable-next-line n/no-callback-literal
spyOn(atom, 'confirm').and.callFake((opts, cb) => cb(0))
spyOn(backupLocation, 'delete').and.callThrough()

Expand All @@ -1131,7 +1131,7 @@ describe('syncSettings', () => {
})

it('cancel does not call delete', async () => {
// eslint-disable-next-line node/no-callback-literal
// eslint-disable-next-line n/no-callback-literal
spyOn(atom, 'confirm').and.callFake((opts, cb) => cb(1))
spyOn(backupLocation, 'delete').and.callThrough()

Expand Down

0 comments on commit c3ff242

Please sign in to comment.