Archived
fix: share private chat files and harden native lifecycle
This commit is contained in:
1 parent
7dcd06c911
commit
ec510b938b
8 files changed
+83
-15
No files matched your search
@@ -43,10 +43,13 @@ final class ChatTests: XCTestCase {
|
||||
XCTAssertFalse(store.researchAvailable)
|
||||
await store.exportConversation(format: "markdown")
|
||||
XCTAssertTrue(store.exportText?.contains("Export this") == true)
|
||||
XCTAssertTrue(store.exportFile?.filename.hasSuffix(".md") == true)
|
||||
XCTAssertEqual(store.exportFile?.data, Data(store.exportText!.utf8))
|
||||
store.foreground(true)
|
||||
store.foreground(false)
|
||||
store.close()
|
||||
XCTAssertNil(store.exportText)
|
||||
XCTAssertNil(store.exportFile)
|
||||
XCTAssertFalse(store.research)
|
||||
}
|
||||
func testBranchAndRegeneratePreserveOriginal() async throws {
|
||||
|
||||
Reference in new issue
Block a user