Skip to content

deps: bump @vitest/spy from 1.6.0 to 2.1.0 #891

deps: bump @vitest/spy from 1.6.0 to 2.1.0

deps: bump @vitest/spy from 1.6.0 to 2.1.0 #891

GitHub Actions / Tests Results (doubles.vitest) succeeded Sep 12, 2024 in 0s

16 passed, 0 failed and 0 skipped

Tests passed successfully

✅ /home/runner/work/suites/suites/test-reports/doubles.vitest.xml

16 tests were completed in 306ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/mock.spec.ts 16✅ 14ms

✅ src/mock.spec.ts

src/mock.spec.ts
  ✅ Mocking Proxy Mechanism Unit Spec > basic functionality > should allow assignment to itself even with private parts
  ✅ Mocking Proxy Mechanism Unit Spec > basic functionality > should create vi.fn() without any invocation
  ✅ Mocking Proxy Mechanism Unit Spec > basic functionality > should register invocations correctly
  ✅ Mocking Proxy Mechanism Unit Spec > mock return values and arguments > should allow mocking a return value
  ✅ Mocking Proxy Mechanism Unit Spec > mock return values and arguments > should allow specifying arguments
  ✅ Mocking Proxy Mechanism Unit Spec > mock properties > should allow setting properties
  ✅ Mocking Proxy Mechanism Unit Spec > mock properties > should allow setting boolean properties to false or null
  ✅ Mocking Proxy Mechanism Unit Spec > mock properties > should allow setting properties to undefined explicitly
  ✅ Mocking Proxy Mechanism Unit Spec > mock implementation > should allow providing mock implementations for properties
  ✅ Mocking Proxy Mechanism Unit Spec > mock implementation > should allow providing mock implementations for functions
  ✅ Mocking Proxy Mechanism Unit Spec > promises > should successfully use mock for promises resolving
  ✅ Mocking Proxy Mechanism Unit Spec > promises > should successfully use mock for promises rejecting
  ✅ Mocking Proxy Mechanism Unit Spec > mocking a date objects > should allow calling native date object methods
  ✅ Mocking Proxy Mechanism Unit Spec > mocking nested objects > should allow mocking nested objects
  ✅ Mocking Proxy Mechanism Unit Spec > mocking nested objects > should allow mocking nested objects with promises
  ✅ Mocking Proxy Mechanism Unit Spec > mocking nested objects > should allow mocking nested objects with promises and rejections