Skip to content

chore(deps): bump typescript from 5.2.2 to 5.3.3 #527

chore(deps): bump typescript from 5.2.2 to 5.3.3

chore(deps): bump typescript from 5.2.2 to 5.3.3 #527

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Tests Results (core) succeeded Dec 7, 2023 in 2s

Tests Results (core) ✅

Tests passed successfully

✅ test-reports/core.xml

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

Test suite Passed Failed Skipped Time
packages/core/test/adaper-package-resolving.integration.test.ts 2✅ 198ms
packages/core/test/testbed-builder.integration.test.ts 12✅ 2s
packages/core/src/services/unit-mocker.spec.ts 3✅ 2s
packages/core/src/services/unit-reference.spec.ts 7✅ 1s

✅ packages/core/test/adaper-package-resolving.integration.test.ts

Automock Adapter Package Resolving Integration Test › Resolving an adapter with default export
  ✅ should successfully resolve the adapter package
Automock Adapter Package Resolving Integration Test › Resolving an adapter with no default export
  ✅ should failed resolving the adapter package and throw an error

✅ packages/core/test/testbed-builder.integration.test.ts

Builder Integration Test › creating a testbed builder with some mock overrides › override the dependencies from the builder, and leave the rest for the dependencies mocked
  ✅ should return a mock or a value for "ArbitraryClassOne", with metadata undefined mocked from Symbol(MockFromMocker)
  ✅ should return a mock or a value for "ArbitraryClassTwo", with metadata undefined mocked from Symbol(MockedFromBuilder)
  ✅ should return a mock or a value for "ArbitraryClassFive", with metadata undefined mocked from Symbol(MockFromMocker)
  ✅ should return a mock or a value for "custom string-based token with metadata", with metadata {"metadataKey": "value"} mocked from Symbol(MockFromMocker)
  ✅ should return a mock or a value for "ArbitraryClassFour", with metadata undefined mocked from Symbol(MockedFromBuilder)
  ✅ should return a mock or a value for "custom string-based token with function", with metadata undefined mocked from Symbol(MockedFromBuilder)
  ✅ should return a mock or a value for "custom token with undefined value", with metadata undefined mocked from "SOME_VALUE"
  ✅ should return a mock or a value for "custom symbol-based token", with metadata {"key": "value"} mocked from Symbol(MockedFromBuilder)
  ✅ should return a mock or a value for "ArbitraryClassFive", with metadata undefined mocked from Symbol(MockFromMocker)
  ✅ should return a mock or a value for "custom token with constant value", with metadata undefined mocked from "ARBITRARY_STRING"
Builder Integration Test › creating a testbed builder with some mock overrides
  ✅ should return an instance of the unit and a unit reference
  ✅ should log a warning indicating the dependency was not found when mocking missing dependency

✅ packages/core/src/services/unit-mocker.spec.ts

Unit Mocker Unit Spec › given that the adapter returns container with the following dependencies › and given there are some already mocked injectables from advanced in the mocks container › when applying all the mocks on the target unit, including the already mocked
  ✅ should return container that lists all the dependencies together, mocked from the builder or from advanced
  ✅ should return an instance of the class as the unit
  ✅ should apply the mocks to the class properties as well

✅ packages/core/src/services/unit-reference.spec.ts

Unit Reference Unit Spec
  ✅ should return the corresponding class or value using unique identifier with no metadata
  ✅ should return the corresponding class or value using unique identifier with no metadata
  ✅ should return the corresponding class or value using unique identifier with no metadata
  ✅ should return the corresponding class or value using unique identifier with no metadata
  ✅ should return the corresponding class or value using unique identifier with no metadata
  ✅ should return the corresponding class or value using unique identifier with metadata combined
  ✅ should throw an error indicating the dependency not found in case the identifier is missing