Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ draft.test.ts
File
draft.test.ts
tests/ui/workspaces/draft.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Integration tests
for
draft workspace behavior.
3
*
4
* Tests that clicking
"New Workspace"
reuses existing empty drafts
Callers
nothing calls this directly
Calls
15
shouldRunIntegrationTests
Function · 0.90
createSharedRepo
Function · 0.90
cleanupSharedRepo
Function · 0.90
getSharedEnv
Function · 0.90
getSharedRepoPath
Function · 0.90
setupTestDom
Function · 0.90
updatePersistedState
Function · 0.90
renderApp
Function · 0.90
addProjectViaUI
Function · 0.90
getWorkspaceDraftIds
Function · 0.90
cleanupView
Function · 0.90
waitForDraftCount
Function · 0.85
Tested by
no test coverage detected