5 Commits

Author SHA1 Message Date
bobo.yang
944e4e0c9b Update customAction and add tests
- Change temp subdirectory from 'devchat/context' to 'devchat/action'.
- Add check for tempFile existence before unlinking.
- Add new test cases for actionManager and customAction.
2023-07-24 00:11:56 +08:00
bobo.yang
63ea89387b Update test cases to include args property
- Add args property to commandManager.test.ts test cases.
- Add args property to customCommand.test.ts test cases.
- Update sendMessageBase.test.ts to fix expected result.
2023-07-24 00:11:56 +08:00
bobo.yang
421b4e6f2e Update sendMessageBase tests after refactoring
- Removed tests for the getParentHash function in sendMessageBase.test.ts.
- This function was removed in a previous commit, so the tests are no longer needed.
2023-07-17 20:31:01 +08:00
bobo.yang
a349d8dd29 fix test cases 2023-05-31 16:57:39 +08:00
bobo.yang
ba097eab26 add unit tests for src 2023-05-31 16:10:53 +08:00