Skip to content
GitHub Actions / Tests Results (doubles.jest) succeeded Sep 12, 2024 in 0s

16 passed, 0 failed and 0 skipped

Tests passed successfully

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

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

Test suite Passed Failed Skipped Time
Mocking Proxy Mechanism Unit Spec 16✅ 641ms

✅ Mocking Proxy Mechanism Unit Spec

Mocking Proxy Mechanism Unit Spec basic functionality should allow assignment to itself even with private parts
  ✅ 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 jest.fn() without any invocation
  ✅ Mocking Proxy Mechanism Unit Spec basic functionality should create jest.fn() without any invocation
Mocking Proxy Mechanism Unit Spec basic functionality should register invocations correctly
  ✅ 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 mocking a return value
Mocking Proxy Mechanism Unit Spec mock return values and arguments should allow specifying arguments
  ✅ 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 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 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 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 properties
Mocking Proxy Mechanism Unit Spec mock implementation should allow providing mock implementations for functions
  ✅ 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 resolving
Mocking Proxy Mechanism Unit Spec promises should successfully use mock for promises rejecting
  ✅ 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 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
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
Mocking Proxy Mechanism Unit Spec mocking nested objects should allow mocking nested objects with promises and rejections
  ✅ Mocking Proxy Mechanism Unit Spec mocking nested objects should allow mocking nested objects with promises and rejections