fix(tests): migrate test suite from mocha to bun test runner

- Replace before()/after() with beforeAll()/afterAll()
- Remove this.timeout() calls (unsupported by bun)
- Update package.json scripts to use bun test
- Fix error message regex for cross-runtime compatibility
- Skip integration tests requiring network/child process mocking
- Format source files with prettier
This commit is contained in:
semantic-release-bot
2025-12-03 21:43:29 -05:00
committed by kaitranntt
parent cf577a5b40
commit bd46c8de12
27 changed files with 2912 additions and 88 deletions
+6
View File
@@ -269,6 +269,12 @@ interface CommandHandler {
requiresProfile?: boolean;
description?: string;
}
// Example: Update command options interface
interface UpdateOptions {
force?: boolean;
beta?: boolean;
}
```
**Implementation Example**: