Skip to content

chore(ci): specify node-version for analysis #3416

chore(ci): specify node-version for analysis

chore(ci): specify node-version for analysis #3416

GitHub Actions / Test Results succeeded Oct 2, 2024 in 0s

All 122 tests pass, 30 skipped in 3m 25s

 10 files  ±0   37 suites  ±0   3m 25s ⏱️ - 1m 31s
152 tests ±0  122 ✅ ±0  30 💤 ±0  0 ❌ ±0 
197 runs  ±0  167 ✅ ±0  30 💤 ±0  0 ❌ ±0 

Results for commit a50b22c. ± Comparison against earlier commit 4c75a43.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

30 skipped tests found

There are 30 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
Bootstrap test should apply global prefix for routes ‑ Bootstrap test should apply global prefix for routes
Bootstrap test should autoload controller when URL given ‑ Bootstrap test should autoload controller when URL given
Bootstrap test should autoload controller when file URL given ‑ Bootstrap test should autoload controller when file URL given
Bootstrap test should autoload controller when import.meta.url given ‑ Bootstrap test should autoload controller when import.meta.url given
Bootstrap test should autoload controller when path given ‑ Bootstrap test should autoload controller when path given
Bootstrap test should be able to bootstrap when mask is string ‑ Bootstrap test should be able to bootstrap when mask is string
Bootstrap test should bootstrap request handler ‑ Bootstrap test should bootstrap request handler
Bootstrap test should load specified controllers ‑ Bootstrap test should load specified controllers
Bootstrap test should not bootstrap server when try to bootstrap controllers/handlers with same routes ‑ Bootstrap test should not bootstrap server when try to bootstrap controllers/handlers with same routes
Bootstrap test should skip broken controller ‑ Bootstrap test should skip broken controller
Bootstrap test should throw an error while bootstrap application ‑ Bootstrap test should throw an error while bootstrap application
Bootstrap test should throw error when class loader defined by some library and specified in config ‑ Bootstrap test should throw error when class loader defined by some library and specified in config
Strategies: controller types Per request strategy Error handling should call TypeError handler only ‑ Strategies: controller types Per request strategy Error handling should call TypeError handler only
Strategies: controller types Per request strategy Error handling should call general error handler when TypeError handler throws error ‑ Strategies: controller types Per request strategy Error handling should call general error handler when TypeError handler throws error
Strategies: controller types Per request strategy Error handling should call general error handler when error is not TypeError or derivatives ‑ Strategies: controller types Per request strategy Error handling should call general error handler when error is not TypeError or derivatives
Strategies: controller types Per request strategy Error handling should register error handler ‑ Strategies: controller types Per request strategy Error handling should register error handler
Strategies: controller types Per request strategy should create controller with handler ‑ Strategies: controller types Per request strategy should create controller with handler
Strategies: controller types Per request strategy should do nothing with empty controller ‑ Strategies: controller types Per request strategy should do nothing with empty controller
Strategies: controller types Per request strategy should inject tags into handlers and swagger configuration ‑ Strategies: controller types Per request strategy should inject tags into handlers and swagger configuration
Strategies: controller types Per request strategy should keep tags defined in handler over tags from controller ‑ Strategies: controller types Per request strategy should keep tags defined in handler over tags from controller
Strategies: controller types Per request strategy should register onRequest hook ‑ Strategies: controller types Per request strategy should register onRequest hook
Strategies: controller types Singleton strategy Error handling should call TypeError handler only ‑ Strategies: controller types Singleton strategy Error handling should call TypeError handler only
Strategies: controller types Singleton strategy Error handling should call general error handler when TypeError handler throws error ‑ Strategies: controller types Singleton strategy Error handling should call general error handler when TypeError handler throws error
Strategies: controller types Singleton strategy Error handling should call general error handler when error is not TypeError or derivatives ‑ Strategies: controller types Singleton strategy Error handling should call general error handler when error is not TypeError or derivatives
Strategies: controller types Singleton strategy Error handling should register error handler ‑ Strategies: controller types Singleton strategy Error handling should register error handler
Strategies: controller types Singleton strategy should create controller with handler ‑ Strategies: controller types Singleton strategy should create controller with handler
Strategies: controller types Singleton strategy should do nothing with empty controller ‑ Strategies: controller types Singleton strategy should do nothing with empty controller
Strategies: controller types Singleton strategy should inject tags into handlers and swagger configuration ‑ Strategies: controller types Singleton strategy should inject tags into handlers and swagger configuration
Strategies: controller types Singleton strategy should keep tags defined in handler over tags from controller ‑ Strategies: controller types Singleton strategy should keep tags defined in handler over tags from controller
Strategies: controller types Singleton strategy should register onRequest hook ‑ Strategies: controller types Singleton strategy should register onRequest hook

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

152 tests found

There are 152 tests, see "Raw output" for the full list of tests.
Raw output
 should return message from request ‑  should return message from request
AWS Lambda: PingController should reply with ok on ping/async ‑ AWS Lambda: PingController should reply with ok on ping/async
AWS Lambda: PingController should reply with ok on ping/sync ‑ AWS Lambda: PingController should reply with ok on ping/sync
Bootstrap test should apply global prefix for routes ‑ Bootstrap test should apply global prefix for routes
Bootstrap test should autoload controller when URL given ‑ Bootstrap test should autoload controller when URL given
Bootstrap test should autoload controller when file URL given ‑ Bootstrap test should autoload controller when file URL given
Bootstrap test should autoload controller when import.meta.url given ‑ Bootstrap test should autoload controller when import.meta.url given
Bootstrap test should autoload controller when path given ‑ Bootstrap test should autoload controller when path given
Bootstrap test should be able to bootstrap when mask is string ‑ Bootstrap test should be able to bootstrap when mask is string
Bootstrap test should bootstrap request handler ‑ Bootstrap test should bootstrap request handler
Bootstrap test should load specified controllers ‑ Bootstrap test should load specified controllers
Bootstrap test should not bootstrap server when try to bootstrap controllers/handlers with same routes ‑ Bootstrap test should not bootstrap server when try to bootstrap controllers/handlers with same routes
Bootstrap test should skip broken controller ‑ Bootstrap test should skip broken controller
Bootstrap test should throw an error while bootstrap application ‑ Bootstrap test should throw an error while bootstrap application
Bootstrap test should throw error when class loader defined by some library and specified in config ‑ Bootstrap test should throw error when class loader defined by some library and specified in config
Controller: User should delete existing user ‑ Controller: User should delete existing user
Controller: User should return 404 error when user does exist ‑ Controller: User should return 404 error when user does exist
Controller: User should return 404 when deleting not existing user ‑ Controller: User should return 404 when deleting not existing user
Controller: User should return unprocessable entity error when new user name is busy ‑ Controller: User should return unprocessable entity error when new user name is busy
Controller: User should return username when creating user ‑ Controller: User should return username when creating user
Controller: User should return username when user exists ‑ Controller: User should return username when user exists
Controllers dependency injection tests Controller with @Inject decorator should work with async service ‑ Controllers dependency injection tests Controller with @Inject decorator should work with async service
Controllers dependency injection tests Controller with @Inject decorator should work with service injected by token ‑ Controllers dependency injection tests Controller with @Inject decorator should work with service injected by token
Controllers dependency injection tests Controller with @Inject decorator should work with sync service ‑ Controllers dependency injection tests Controller with @Inject decorator should work with sync service
Controllers dependency injection tests Controller with constructor should be able to inject request/reply in service and use ‑ Controllers dependency injection tests Controller with constructor should be able to inject request/reply in service and use
Controllers dependency injection tests Controller with constructor should work with async service ‑ Controllers dependency injection tests Controller with constructor should work with async service
Controllers dependency injection tests Controller with constructor should work with sync service ‑ Controllers dependency injection tests Controller with constructor should work with sync service
Controllers dependency injection tests should be able to inject request/reply in first level service ‑ Controllers dependency injection tests should be able to inject request/reply in first level service
Controllers dependency injection tests should be able to inject request/reply in second level service ‑ Controllers dependency injection tests should be able to inject request/reply in second level service
Controllers dependency injection tests should be able to inject request/reply in third level service ‑ Controllers dependency injection tests should be able to inject request/reply in third level service
Controllers dependency injection tests should work with sync service ‑ Controllers dependency injection tests should work with sync service
Controllers error handling tests Stateful controller error handling support should trigger custom error handler ‑ Controllers error handling tests Stateful controller error handling support should trigger custom error handler
Controllers error handling tests Stateful controller error handling support should trigger generic error handler ‑ Controllers error handling tests Stateful controller error handling support should trigger generic error handler
Controllers error handling tests Stateful controller error handling support should trigger syntax error handler ‑ Controllers error handling tests Stateful controller error handling support should trigger syntax error handler
Controllers error handling tests Stateful controller error handling support should trigger type error handler ‑ Controllers error handling tests Stateful controller error handling support should trigger type error handler
Controllers error handling tests Stateless controller error handling support should trigger custom error handler ‑ Controllers error handling tests Stateless controller error handling support should trigger custom error handler
Controllers error handling tests Stateless controller error handling support should trigger generic error handler ‑ Controllers error handling tests Stateless controller error handling support should trigger generic error handler
Controllers error handling tests Stateless controller error handling support should trigger syntax error handler ‑ Controllers error handling tests Stateless controller error handling support should trigger syntax error handler
Controllers error handling tests Stateless controller error handling support should trigger type error handler ‑ Controllers error handling tests Stateless controller error handling support should trigger type error handler
Controllers hooks tests Stateful controller should support hooks ‑ Controllers hooks tests Stateful controller should support hooks
Controllers hooks tests Stateless controller should support hooks ‑ Controllers hooks tests Stateless controller should support hooks
Controllers inheritance test abstract should inherit parent routes when controller has own methods ‑ Controllers inheritance test abstract should inherit parent routes when controller has own methods
Controllers inheritance test abstract should not affect other derivatives ‑ Controllers inheritance test abstract should not affect other derivatives
Controllers inheritance test abstract should reply on own methods from inherited controller ‑ Controllers inheritance test abstract should reply on own methods from inherited controller
Controllers inheritance test abstract should reply on ping request to inherited controller ‑ Controllers inheritance test abstract should reply on ping request to inherited controller
Controllers inheritance test abstract should reply on ping-ping request with message from inherited controller ‑ Controllers inheritance test abstract should reply on ping-ping request with message from inherited controller
Controllers inheritance test parent should inherit parent routes when controller has own methods ‑ Controllers inheritance test parent should inherit parent routes when controller has own methods
Controllers inheritance test parent should not affect other derivatives ‑ Controllers inheritance test parent should not affect other derivatives
Controllers inheritance test parent should reply on own methods from inherited controller ‑ Controllers inheritance test parent should reply on own methods from inherited controller
Controllers inheritance test parent should reply on ping request to inherited controller ‑ Controllers inheritance test parent should reply on ping request to inherited controller
Controllers inheritance test parent should reply on ping-ping request with message from inherited controller ‑ Controllers inheritance test parent should reply on ping-ping request with message from inherited controller
Decorator: @Initializer should reject deferred when async initializer failed ‑ Decorator: @Initializer should reject deferred when async initializer failed
Decorator: @Initializer should reject deferred when some of dependencies initializer failed ‑ Decorator: @Initializer should reject deferred when some of dependencies initializer failed
Decorator: @Initializer should resolve deferred when async initializer of service and it's dependencies succeeded ‑ Decorator: @Initializer should resolve deferred when async initializer of service and it's dependencies succeeded
Decorator: @Initializer should resolve deferred when async initializer succeeded ‑ Decorator: @Initializer should resolve deferred when async initializer succeeded
Decorator: @Inject should create metadata for inject ‑ Decorator: @Inject should create metadata for inject
Decorator: @Inject should not override metadata when it exists ‑ Decorator: @Inject should not override metadata when it exists
Decorator: destructor should decorate service with Destructor symbol ‑ Decorator: destructor should decorate service with Destructor symbol
Decorators / helpers / Swagger helper should create tags object and inject tags into oas object when it does not contains tags object ‑ Decorators / helpers / Swagger helper should create tags object and inject tags into oas object when it does not contains tags object
Decorators / helpers / Swagger helper should create tags object and inject tags into openapiDocument object when it does not contains tags object ‑ Decorators / helpers / Swagger helper should create tags object and inject tags into openapiDocument object when it does not contains tags object
Decorators / helpers / Swagger helper should create tags object and inject tags into swagger object when it does not contains tags object ‑ Decorators / helpers / Swagger helper should create tags object and inject tags into swagger object when it does not contains tags object
Decorators / helpers / Swagger helper should do nothing when swagger configuration not found ‑ Decorators / helpers / Swagger helper should do nothing when swagger configuration not found
Decorators / helpers / Swagger helper should inject tags into oas object when it contains tags object ‑ Decorators / helpers / Swagger helper should inject tags into oas object when it contains tags object
Decorators / helpers / Swagger helper should inject tags into openapiDocument object when it contains tags object ‑ Decorators / helpers / Swagger helper should inject tags into openapiDocument object when it contains tags object
Decorators / helpers / Swagger helper should inject tags into swagger object when it contains tags object ‑ Decorators / helpers / Swagger helper should inject tags into swagger object when it contains tags object
Decorators / helpers / Swagger helper should not add hook when tags are empty ‑ Decorators / helpers / Swagger helper should not add hook when tags are empty
Decorators: @Service should call initializer when instantiate service ‑ Decorators: @Service should call initializer when instantiate service
Decorators: @Service should create new instances for different scopes ‑ Decorators: @Service should create new instances for different scopes
Decorators: @Service should register destructor when instantiate service ‑ Decorators: @Service should register destructor when instantiate service
Decorators: @Service should return same instance if service created multiple times within same scope ‑ Decorators: @Service should return same instance if service created multiple times within same scope
Helpers: Container empty container should have 0 length ‑ Helpers: Container empty container should have 0 length
Helpers: Container should dynamically change content when parent container updated ‑ Helpers: Container should dynamically change content when parent container updated
Helpers: Container should iterate over parent container elements first ‑ Helpers: Container should iterate over parent container elements first
Helpers: Container should return length equals to containers items count ‑ Helpers: Container should return length equals to containers items count
Helpers: Container should sum parent container length ‑ Helpers: Container should sum parent container length
Helpers: ensure service injection checking whether class has service injection should return false when class has no service injection ‑ Helpers: ensure service injection checking whether class has service injection should return false when class has no service injection
Helpers: ensure service injection checking whether class has service injection should return true when class has service injection ‑ Helpers: ensure service injection checking whether class has service injection should return true when class has service injection
Helpers: ensure service injection checking whether class has service injection should return true when parent class has service injection ‑ Helpers: ensure service injection checking whether class has service injection should return true when parent class has service injection
Helpers: ensure service injection ensuring class has service injection field should create container for service injection ‑ Helpers: ensure service injection ensuring class has service injection field should create container for service injection
Helpers: ensure service injection ensuring class has service injection field should create own container when class have inherited ‑ Helpers: ensure service injection ensuring class has service injection field should create own container when class have inherited
Helpers: inject dependencies Defined by @Inject should inject service ‑ Helpers: inject dependencies Defined by @Inject should inject service
Helpers: inject dependencies Defined by @Inject should throw when service was not found in Injectables ‑ Helpers: inject dependencies Defined by @Inject should throw when service was not found in Injectables
Helpers: inject dependencies should cache result ‑ Helpers: inject dependencies should cache result
RequestHandlers hooks support should return username when user exists ‑ RequestHandlers hooks support should return username when user exists
States controllers tests Stateful controller should save state ‑ States controllers tests Stateful controller should save state
States controllers tests Stateless controller should not save state ‑ States controllers tests Stateless controller should not save state
Strategies: controller types Per request strategy Error handling should call TypeError handler only ‑ Strategies: controller types Per request strategy Error handling should call TypeError handler only
Strategies: controller types Per request strategy Error handling should call general error handler when TypeError handler throws error ‑ Strategies: controller types Per request strategy Error handling should call general error handler when TypeError handler throws error
Strategies: controller types Per request strategy Error handling should call general error handler when error is not TypeError or derivatives ‑ Strategies: controller types Per request strategy Error handling should call general error handler when error is not TypeError or derivatives
Strategies: controller types Per request strategy Error handling should register error handler ‑ Strategies: controller types Per request strategy Error handling should register error handler
Strategies: controller types Per request strategy should create controller with handler ‑ Strategies: controller types Per request strategy should create controller with handler
Strategies: controller types Per request strategy should do nothing with empty controller ‑ Strategies: controller types Per request strategy should do nothing with empty controller
Strategies: controller types Per request strategy should inject tags into handlers and swagger configuration ‑ Strategies: controller types Per request strategy should inject tags into handlers and swagger configuration
Strategies: controller types Per request strategy should keep tags defined in handler over tags from controller ‑ Strategies: controller types Per request strategy should keep tags defined in handler over tags from controller
Strategies: controller types Per request strategy should register onRequest hook ‑ Strategies: controller types Per request strategy should register onRequest hook
Strategies: controller types Singleton strategy Error handling should call TypeError handler only ‑ Strategies: controller types Singleton strategy Error handling should call TypeError handler only
Strategies: controller types Singleton strategy Error handling should call general error handler when TypeError handler throws error ‑ Strategies: controller types Singleton strategy Error handling should call general error handler when TypeError handler throws error
Strategies: controller types Singleton strategy Error handling should call general error handler when error is not TypeError or derivatives ‑ Strategies: controller types Singleton strategy Error handling should call general error handler when error is not TypeError or derivatives
Strategies: controller types Singleton strategy Error handling should register error handler ‑ Strategies: controller types Singleton strategy Error handling should register error handler
Strategies: controller types Singleton strategy should create controller with handler ‑ Strategies: controller types Singleton strategy should create controller with handler
Strategies: controller types Singleton strategy should do nothing with empty controller ‑ Strategies: controller types Singleton strategy should do nothing with empty controller
Strategies: controller types Singleton strategy should inject tags into handlers and swagger configuration ‑ Strategies: controller types Singleton strategy should inject tags into handlers and swagger configuration
Strategies: controller types Singleton strategy should keep tags defined in handler over tags from controller ‑ Strategies: controller types Singleton strategy should keep tags defined in handler over tags from controller
Strategies: controller types Singleton strategy should register onRequest hook ‑ Strategies: controller types Singleton strategy should register onRequest hook
Testing: configure controller test should be able to mock dependencies given via @Inject ‑ Testing: configure controller test should be able to mock dependencies given via @Inject
Testing: configure controller test should bootstrap controller with async service ‑ Testing: configure controller test should bootstrap controller with async service
Testing: configure controller test should bootstrap controller with mocked dependency ‑ Testing: configure controller test should bootstrap controller with mocked dependency
Testing: configure controller test should bootstrap controller ‑ Testing: configure controller test should bootstrap controller
Testing: configure controller test should decorate instance with controller property ‑ Testing: configure controller test should decorate instance with controller property
Testing: configure controller test should inject custom fastify instance ‑ Testing: configure controller test should inject custom fastify instance
Testing: configure controller test should inject fastify instance ‑ Testing: configure controller test should inject fastify instance
Testing: configure controller test should not cache results ‑ Testing: configure controller test should not cache results
Testing: configure controller test should not override mocked injection of fastify instance ‑ Testing: configure controller test should not override mocked injection of fastify instance
Testing: configure controller test with plugins should be able to register plugin with opts ‑ Testing: configure controller test with plugins should be able to register plugin with opts
Testing: configure controller test with plugins should be able to register plugin ‑ Testing: configure controller test with plugins should be able to register plugin
Testing: configure service test async service setup Compatibility with Promise should not fail with services without initializer ‑ Testing: configure service test async service setup Compatibility with Promise should not fail with services without initializer
Testing: configure service test async service setup Compatibility with Promise should support catch ‑ Testing: configure service test async service setup Compatibility with Promise should support catch
Testing: configure service test async service setup Compatibility with Promise should support finally ‑ Testing: configure service test async service setup Compatibility with Promise should support finally
Testing: configure service test async service setup Compatibility with Promise should support then with one argument ‑ Testing: configure service test async service setup Compatibility with Promise should support then with one argument
Testing: configure service test async service setup Compatibility with Promise should support then with two arguments ‑ Testing: configure service test async service setup Compatibility with Promise should support then with two arguments
Testing: configure service test async service setup should be able to catch error in async initializer ‑ Testing: configure service test async service setup should be able to catch error in async initializer
Testing: configure service test async service setup should be able to configure async service ‑ Testing: configure service test async service setup should be able to configure async service
Testing: configure service test async service setup should not call initializer twice ‑ Testing: configure service test async service setup should not call initializer twice
Testing: configure service test should be able to configure service and all it's dependencies ‑ Testing: configure service test should be able to configure service and all it's dependencies
Testing: configure service test should be able to configure service and mock it's dependencies provided via @Inject ‑ Testing: configure service test should be able to configure service and mock it's dependencies provided via @Inject
Testing: configure service test should be able to configure service and mock it's dependencies provided via constructor ‑ Testing: configure service test should be able to configure service and mock it's dependencies provided via constructor
Testing: configure service test should be able to configure test for service without dependencies ‑ Testing: configure service test should be able to configure test for service without dependencies
Testing: configure service test should be able to load plugins onto fastify instance ‑ Testing: configure service test should be able to load plugins onto fastify instance
Testing: configure service test should inject fastify instance ‑ Testing: configure service test should inject fastify instance
Testing: configure service test should not override mocked injection of fastify instance ‑ Testing: configure service test should not override mocked injection of fastify instance
Testing: configure service test should throw error when instantiating class without service decorator ‑ Testing: configure service test should throw error when instantiating class without service decorator
Testing: configure service test should use custom fastify instance ‑ Testing: configure service test should use custom fastify instance
Testing: mocks manager should create injectables map from another one ‑ Testing: mocks manager should create injectables map from another one
Testing: mocks manager should overwrite values from original holder with providers ‑ Testing: mocks manager should overwrite values from original holder with providers
Use container should create controller with injected dependency ‑ Use container should create controller with injected dependency
User feature should delete existing user ‑ User feature should delete existing user
User feature should return 404 error when user does exist ‑ User feature should return 404 error when user does exist
User feature should return 404 when deleting not existing user ‑ User feature should return 404 when deleting not existing user
User feature should return unprocessable entity error when new user name is busy ‑ User feature should return unprocessable entity error when new user name is busy
User feature should return username when creating user ‑ User feature should return username when creating user
User feature should return username when user exists ‑ User feature should return username when user exists
Utils: deferred should be able to reject promise ‑ Utils: deferred should be able to reject promise
Utils: deferred should be able to resolve promise ‑ Utils: deferred should be able to resolve promise
Utils: getContainer should create and return container ‑ Utils: getContainer should create and return container
Utils: getContainer should return same instance when called multiple times ‑ Utils: getContainer should return same instance when called multiple times
Utils: transformAndWait should work with arrays ‑ Utils: transformAndWait should work with arrays
Utils: transformAndWait should work with async generators ‑ Utils: transformAndWait should work with async generators
Utils: transformAndWait should work with custom async iterators ‑ Utils: transformAndWait should work with custom async iterators
Utils: transformAndWait should work with custom iterators ‑ Utils: transformAndWait should work with custom iterators
Utils: transformAndWait should work with generators ‑ Utils: transformAndWait should work with generators
Utils: transformAndWait should work with maps ‑ Utils: transformAndWait should work with maps
Utils: transformAndWait should work with sets ‑ Utils: transformAndWait should work with sets