mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 03:55:18 +02:00
Prefer matching editor sessions when opening files. (#6191)
Signed-off-by: Sean Lee <freshdried@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ describe("createApp", () => {
|
||||
beforeAll(async () => {
|
||||
mockLogger()
|
||||
|
||||
const testName = "unlink-socket"
|
||||
const testName = "app"
|
||||
await clean(testName)
|
||||
tmpDirPath = await tmpdir(testName)
|
||||
tmpFilePath = path.join(tmpDirPath, "unlink-socket-file")
|
||||
@@ -103,7 +103,7 @@ describe("createApp", () => {
|
||||
|
||||
const app = await createApp(defaultArgs)
|
||||
|
||||
expect(unlinkSpy).toHaveBeenCalledTimes(1)
|
||||
expect(unlinkSpy).toHaveBeenCalledWith(tmpFilePath)
|
||||
app.dispose()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user