Skip to content

fix: reflect metadta peer dependency #927

fix: reflect metadta peer dependency

fix: reflect metadta peer dependency #927

GitHub Actions / Tests Results (di.inversify) succeeded Oct 18, 2024 in 0s

11 passed, 0 failed and 0 skipped

Tests passed successfully

✅ /home/runner/work/suites/suites/test-reports/di.inversify.xml

11 tests were completed in 3s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Dependencies Adapter Unit Spec 6✅ 1s
Identifier Builder Unit Spec 5✅ 1s

✅ Dependencies Adapter Unit Spec

Dependencies Adapter Unit Spec should return undefined if no matching injectables are found
  ✅ Dependencies Adapter Unit Spec should return undefined if no matching injectables are found
Dependencies Adapter Unit Spec should return the injectable if only one matching injectable is found and no metadata is provided
  ✅ Dependencies Adapter Unit Spec should return the injectable if only one matching injectable is found and no metadata is provided
Dependencies Adapter Unit Spec should return the injectable with matching metadata if metadata is provided
  ✅ Dependencies Adapter Unit Spec should return the injectable with matching metadata if metadata is provided
Dependencies Adapter Unit Spec should return undefined if no injectable with matching metadata is found
  ✅ Dependencies Adapter Unit Spec should return undefined if no injectable with matching metadata is found
Dependencies Adapter Unit Spec should return the injectable with matching identifier and no metadata if metadata is not provided
  ✅ Dependencies Adapter Unit Spec should return the injectable with matching identifier and no metadata if metadata is not provided
Dependencies Adapter Unit Spec should return the injectable if there is exactly one, even no metadata provided
  ✅ Dependencies Adapter Unit Spec should return the injectable if there is exactly one, even no metadata provided

✅ Identifier Builder Unit Spec

Identifier Builder Unit Spec should return an identifier object with identifier and metadata when using inject decorator
  ✅ Identifier Builder Unit Spec should return an identifier object with identifier and metadata when using inject decorator
Identifier Builder Unit Spec should return an identifier object with identifier and metadata when using multi inject decorator
  ✅ Identifier Builder Unit Spec should return an identifier object with identifier and metadata when using multi inject decorator
Identifier Builder Unit Spec should return an identifier object with from lazy loader value when no extra metadata
  ✅ Identifier Builder Unit Spec should return an identifier object with from lazy loader value when no extra metadata
Identifier Builder Unit Spec should throw an error indicating undefined dependency detected when lazy loader value is undefined
  ✅ Identifier Builder Unit Spec should throw an error indicating undefined dependency detected when lazy loader value is undefined
Identifier Builder Unit Spec should use the parameter type as identifier if identifier left undefined because none of the preserved keys is found
  ✅ Identifier Builder Unit Spec should use the parameter type as identifier if identifier left undefined because none of the preserved keys is found