Skip to content

update docs

update docs #3

GitHub Actions / Cypress Tests succeeded Mar 15, 2024 in 0s

31 passed, 0 failed and 0 skipped

Tests passed successfully

✔️ /home/runner/work/ts-stubber/ts-stubber/cypress/results/json/mochawesome.json

31 tests were completed in 1s with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/stub-builder.cy.ts 31✔️ 283ms

✔️ src/stub-builder.cy.ts

stub builder tests stubbing class
  ✔️ should allow setting optional properties
  ✔️ should allow setting properties
  ✔️ should assert stub async function calls
  ✔️ should assert stub async function calls using overrides
  ✔️ should override class getter
  ✔️ should override class property
  ✔️ should override class property Function
  ✔️ should stub async function
  ✔️ should stub async function using overrides
  ✔️ should stub async property function
  ✔️ should stub class
  ✔️ should stub class function
  ✔️ should stub class function return value
  ✔️ should stub class property function
  ✔️ should stub class setter
  ✔️ should stub property class function
  ✔️ should stub setter calls
stub builder tests stubbing interface
  ✔️ should allow setter calls
  ✔️ should allow setting properties
  ✔️ should assert stub async function calls
  ✔️ should assert stub async function calls using overrides
  ✔️ should override class property Function
  ✔️ should override interface getter
  ✔️ should override interface property
  ✔️ should stub async function
  ✔️ should stub async function using overrides
  ✔️ should stub async property function
  ✔️ should stub interface
  ✔️ should stub interface function return value
  ✔️ should stub interface property function
  ✔️ should stub interface setter with override