mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 19:50:34 +00:00
enhance: add comprehensive unit tests PR223
This commit is contained in:
parent
1917d599e6
commit
7e72e6b115
6 changed files with 80 additions and 44 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Simple example test to verify testing setup
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { describe, it, expect, vi } from 'vitest'
|
||||
|
||||
describe('Basic Testing Setup', () => {
|
||||
it('should be able to run basic tests', () => {
|
||||
|
|
@ -35,7 +35,6 @@ describe('Basic Testing Setup', () => {
|
|||
})
|
||||
|
||||
// Mock example
|
||||
import { vi } from 'vitest'
|
||||
|
||||
const mockMathOperations = {
|
||||
add: (a: number, b: number) => a + b,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue