refactor: streamline query requests and session storage
This commit is contained in:
@@ -26,7 +26,7 @@ describe("answer view state", () => {
|
||||
beforeEach(async () => {
|
||||
base = await mkdtemp(join(tmpdir(), "answer-state-"));
|
||||
workspaces = new SessionWorkspaceStore(join(base, "workspaces"));
|
||||
messages = new SessionUiStateStore(join(base, "unused"), workspaces);
|
||||
messages = new SessionUiStateStore(workspaces);
|
||||
states = new AnswerViewStateStore(workspaces);
|
||||
currentSpec = spec();
|
||||
await saveMessages();
|
||||
|
||||
Reference in New Issue
Block a user