Skip to content

Merge pull request #24 from ShellyDCMS/avoid-report-publish-on-forks #41

Merge pull request #24 from ShellyDCMS/avoid-report-publish-on-forks

Merge pull request #24 from ShellyDCMS/avoid-report-publish-on-forks #41

GitHub Actions / JEST Tests succeeded Aug 19, 2024 in 0s

50 passed, 0 failed and 0 skipped

Tests passed successfully

✅ test-report.xml

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

Test suite Passed Failed Skipped Time
/home/runner/work/ts-stubber/ts-stubber/src/stub-builder.test.ts 50✅ 2s

✅ /home/runner/work/ts-stubber/ts-stubber/src/stub-builder.test.ts

stubbing interface
  ✅ should stub interface
  ✅ should assert stub async function calls
  ✅ should assert stub async function calls using overrides
  ✅ should stub async function
  ✅ should stub async function using overrides
  ✅ should stub async property function
  ✅ should override class property Function
  ✅ should stub interface property function
  ✅ should override interface property
  ✅ should override interface getter
  ✅ should stub interface setter with override
  ✅ should allow setter calls
  ✅ should allow setting properties
  ✅ should stub interface function return value
Given inherited class
  ✅ should assert stub async function calls
  ✅ should assert stub async function calls using overrides
  ✅ should stub async function
  ✅ should stub async function using overrides
  ✅ should stub async property function
  ✅ should override class property Function
  ✅ should stub class property function
  ✅ should override class property
  ✅ should override class getter
  ✅ should stub class property with override
  ✅ should assert stub class setter calls
  ✅ should allow setting properties
  ✅ should allow setting optional properties
  ✅ should stub class
  ✅ should stub class function return value
stubbing class
  ✅ should have own property given property is overridden
  ✅ should have own property given property is set
  ✅ should override properties given overridden
  ✅ given overriding property, should have own property
  ✅ should stub class function
  ✅ should stub property class function
  ✅ should assert stub async function calls
  ✅ should assert stub async function calls using overrides
  ✅ should stub async function
  ✅ should stub async function using overrides
  ✅ should stub async property function
  ✅ should override class property Function
  ✅ should stub class property function
  ✅ should override class property
  ✅ should override class getter
  ✅ should stub class setter
  ✅ should stub setter calls
  ✅ should allow setting properties
  ✅ should allow setting optional properties
  ✅ should stub class
  ✅ should stub class function return value