mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Make sure the editor disappears quickly.
This commit is contained in:
parent
2f2a0763a2
commit
c22a68435a
@ -246,6 +246,10 @@ describe('GitRepositoryAsync', () => {
|
||||
runs(() => editor = atom.workspace.getActiveTextEditor())
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
editor = null
|
||||
})
|
||||
|
||||
it('displays a confirmation dialog by default', async () => {
|
||||
atom.confirm.andCallFake(({buttons}) => buttons.OK())
|
||||
atom.config.set('editor.confirmCheckoutHeadRevision', true)
|
||||
|
Loading…
Reference in New Issue
Block a user