Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add jest coverage #8

Merged
merged 2 commits into from
Jun 22, 2024

publish the badge

0619e9c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

add jest coverage #8

publish the badge
0619e9c
Select commit
Loading
Failed to load commit list.
GitHub Actions / Cypress Tests succeeded Jun 22, 2024 in 0s

33 passed, 0 failed and 0 skipped

Tests passed successfully

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

33 tests were completed in 2s with 33 passed, 0 failed and 0 skipped.

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

✔️ src/stub-builder.cy.ts

Cypress stub builder tests with Sinon Stubs 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 have own property given property is set
  ✔️ should override class getter
  ✔️ should override class property
  ✔️ should override class property Function
  ✔️ should override properties given property is overridden
  ✔️ 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
Cypress stub builder tests with Sinon Stubs 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