add jest coverage #8
Merged
GitHub Actions / Cypress Tests
succeeded
Jun 22, 2024 in 0s
33 passed, 0 failed and 0 skipped
✔️ /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
Loading