refactor(native-command): require explicit window visibility
This commit is contained in:
1 parent
a895066443
commit
989fc3e2f5
18 files changed
+74
-73
No files matched your search
@@ -11,7 +11,7 @@ describe('system Documents directory', () => {
|
||||
const run = vi.fn<NativeCommandRunner>(async () => ({ stdout, stderr: '' }))
|
||||
const signal = new AbortController().signal
|
||||
await expect(defaultWorkspaceDirectory(undefined, signal, { platform, run })).resolves.toBe(path)
|
||||
expect(run).toHaveBeenCalledWith(command, expect.any(Array), signal)
|
||||
expect(run).toHaveBeenCalledWith(command, expect.any(Array), signal, 'hidden')
|
||||
})
|
||||
|
||||
it('uses the configured directory without a system lookup', async () => {
|
||||
|
||||
Reference in new issue
Block a user