Skip to content

feat(ui-web): refactor the web backend, create tests #39

feat(ui-web): refactor the web backend, create tests

feat(ui-web): refactor the web backend, create tests #39

GitHub Actions / JS - Tests succeeded Sep 17, 2023 in 0s

9 passed, 0 failed and 0 skipped

Tests passed successfully

✔️ src/Serilog.Ui.Web/reports/jest-junit.xml

9 tests were completed in 8s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
assets/tests/auth/authentication-modal-interaction.spec.ts 2✔️ 6s
assets/tests/util.spec.ts 7✔️ 2s

✔️ assets/tests/auth/authentication-modal-interaction.spec.ts

interactions with the Auth JWT Modal
  ✔️ opens the modal
  ✔️ closes the modal clicking the X

✔️ assets/tests/util.spec.ts

log level backgrounds
  ✔️ returns Verbose color for log level: bg-success
  ✔️ returns Debug color for log level: bg-success
  ✔️ returns Error color for log level: bg-danger
  ✔️ returns Fatal color for log level: bg-danger
  ✔️ returns Information color for log level: bg-primary
  ✔️ returns Warning color for log level: bg-warning
  ✔️ returns default color for unrecognized enum case