Skip to content

Support registry and async in toHttpEvent handlers

Sign in for the full log view
GitHub Actions / Unit Tests succeeded Oct 31, 2023 in 1s

Unit Tests βœ…

Tests passed successfully

βœ…Β reports/junit.xml

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

Test suite Passed Failed Skipped Time
Nornir Tests 8βœ… 733ms
REST tests 5βœ… 401ms
test something 1βšͺ 226ms

βœ…Β Nornir Tests

Nornir Tests use() Should add basic middleware
  βœ… Nornir Tests use() Should add basic middleware
Nornir Tests use() Should throw when middleware throws
  βœ… Nornir Tests use() Should throw when middleware throws
Nornir Tests useResult() Should add basic middleware
  βœ… Nornir Tests useResult() Should add basic middleware
Nornir Tests useResult() Should handle previous error result
  βœ… Nornir Tests useResult() Should handle previous error result
Nornir Tests useChain() Should compose chain
  βœ… Nornir Tests useChain() Should compose chain
Nornir Tests split() Should split items
  βœ… Nornir Tests split() Should split items
Nornir Tests split() Should handle errors
  βœ… Nornir Tests split() Should handle errors
Nornir Tests match() Should run the correct match
  βœ… Nornir Tests match() Should run the correct match

βœ…Β REST tests

REST tests Valid requests Should process a basic GET request
  βœ… REST tests Valid requests Should process a basic GET request
REST tests Valid requests Should process a basic POST request
  βœ… REST tests Valid requests Should process a basic POST request
REST tests Valid requests Should process a GET request with an empty body
  βœ… REST tests Valid requests Should process a GET request with an empty body
REST tests Invalid requests Should return a 404 for an invalid path
  βœ… REST tests Invalid requests Should return a 404 for an invalid path
REST tests Invalid requests Should return a 422 for an invalid body
  βœ… REST tests Invalid requests Should return a 422 for an invalid body

βœ…Β test something

test something should do something
  βšͺ test something should do something