This repository was archived by the owner on Jul 14, 2026. It is now read-only.
make .octomind folder the default for push, pull, delete and edit.#317
Merged
Conversation
fabianboth
commented
Jan 12, 2026
Germandrummer92
approved these changes
Jan 12, 2026
| data: { success: true }, | ||
| error: undefined, | ||
| afterEach(() => { | ||
| console.log = originalConsoleLog; |
Member
There was a problem hiding this comment.
I don't think that this reset is necessary, since jest isolated the module registry. (I can't find the documentation where I read this before, but I would just try and leave it out and see if a console.log in another test still works ;))
| testCaseId: "test-case-id", | ||
| }); | ||
| expect(handleError).toHaveBeenCalledWith(undefined); | ||
| expect(console.log).toHaveBeenCalledWith("Test Case deleted successfully"); |
Member
There was a problem hiding this comment.
I guess really we should assert that client.DELETE has been called.
In general I think console.log assertions are quite brittle, but i guess in this case they are part of the interface?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes the .octomind folder the required folder for pull, push, delete and edit commands. Much like with .git, we can find the .octomind folder for the current working directory (traversing upwards).