mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix workspace specs
This commit is contained in:
committed by
Max Brunsfeld
parent
57613d9061
commit
2e066120bd
@@ -2554,6 +2554,15 @@ i = /test/; #FIXME\
|
||||
})
|
||||
|
||||
describe('when an item is moved', () => {
|
||||
beforeEach(() => {
|
||||
atom.workspace.enablePersistence = true
|
||||
})
|
||||
|
||||
afterEach(async () => {
|
||||
await atom.workspace.itemLocationStore.clear()
|
||||
atom.workspace.enablePersistence = false
|
||||
})
|
||||
|
||||
it("stores the new location if it's not the default", () => {
|
||||
const ITEM_URI = 'atom://test'
|
||||
const item = {
|
||||
|
||||
Reference in New Issue
Block a user