You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
b33f202 Add assertion using Gomega for consistency in database tests.
d7ca248 Added client_test.go for testing the client functionality.
9466e5c Added mock implementations for LLM and Notion in database tests.
75ec21b Change package name to pkg_test and update notion.Option to notion.SelectOptions in database_test.go.
8b0b5bb Fix function name and update variable assignment in client test.
3a49890 Fix incorrect variable assignment in client_test.go.
af49e20 Refactor functions to use exported ExtractRichText and TagsToNotionProps methods, and update method calls to use exported NotionClient and Context fields.
f4946ac Refactored GetPage method to simplify block parsing and assignment.
36ff334 Refactored ListTagsForDatabaseColumn method to use a separate function and updated tests accordingly.
7973da7 Refactored test files to use package aliases and updated function calls accordingly.
7b33cff Refactored test functions to use Gomega matchers for assertions.
eaed901 Refactored test functions to use Gomega's Expect for assertions.
1cae197 Remove unused import "errors" from database_test.go.
4a6ed71 Use an empty notion.Client for testing in client_test.go.
7e15e51 aider: Add logging to check for proper initialization of NotionClient and context before using them in the ListMultiSelectProps method.
3d4ae89 aider: Add logging to check for proper initialization of NotionClient and context in the ListTagsForDatabaseColumn method.
40d37db aider: Add more test cases to pkg/database_test.go to improve test coverage for additional block types and ensure correct handling in the NormalizeBody function.
88e9648 aider: Added comprehensive tests for ListMultiSelectProps, ListDatabases, ListTagsForDatabaseColumn, ListPages, GetPage, and TagDatabasePage methods in pkg/database_test.go.
50c31fe aider: Added logging to check for proper initialization of NotionClient and context in ListTagsForDatabaseColumn method.
883f595 aider: Added tests for the functions in the pkg/llm/llm.go package to improve code coverage.
7655276 aider: Added the github.com/stretchr/testify v1.7.0 package to the go.mod file.
90df4c2 aider: Addressed failing test TestGetPage by providing more detailed output for debugging.
f40844b aider: Fix nil pointer dereference in ListTagsForDatabaseColumn method by properly initializing notionClient in Client struct and updating test to use mock client.
be4a3b5 aider: Fix nil pointer dereference in TestListTagsForDatabaseColumn by adding ListTagsForDatabaseColumn method to MockClient struct and updating test to use Client struct.
87feab8 aider: Fix test to use correct type for notionClient in Client struct.
46d7747 aider: Fix type mismatches, correct struct field names, and remove duplicate function in tests.
5283903 aider: Fix undefined variables in test file by defining them properly and ensuring correct scope.
f032720 aider: Refactored pkg/database_test.go to use gomock and removed all usage of stretchr/testify.
b2b08a1 aider: Removed unused import of "reflect" in pkg/database.go. Added retry logic to RequestChatCompletion method in pkg/llm/llm.go.
7121e8c aider: Replaced testify with gomega in test files and go.mod.
9e75797 aider: Resolved import cycle by moving mock implementations to a new package.
6851200 aider: Updated NotionClient interface, removed unused import, and defined tagsToNotionProps function in pkg/notion.go and pkg/database.go.