diff --git a/tests/main.spec.ts b/tests/main.spec.ts index 7536286..ffc679a 100644 --- a/tests/main.spec.ts +++ b/tests/main.spec.ts @@ -102,7 +102,7 @@ describe('Test Main with stubs', () => { spyInitBindings = jest.spyOn(InversifyBinding.prototype, 'initBindings'); spyInitBindings.mockImplementation(() => Promise.resolve(container)); - toSelfMethod.mockReturnValue(selfMock), containerBindMethod.mockReturnValue(bindMock); + (toSelfMethod.mockReturnValue(selfMock), containerBindMethod.mockReturnValue(bindMock)); containerGetMethod.mockReturnValueOnce(generateMock); }); @@ -354,7 +354,7 @@ describe('Test Main with stubs', () => { beforeEach(() => { spyInitBindings = jest.spyOn(InversifyBinding.prototype, 'initBindings'); spyInitBindings.mockImplementation(() => Promise.resolve(container)); - toSelfMethod.mockReturnValue(selfMock), containerBindMethod.mockReturnValue(bindMock); + (toSelfMethod.mockReturnValue(selfMock), containerBindMethod.mockReturnValue(bindMock)); }); afterEach(() => { diff --git a/yarn.lock b/yarn.lock index 1373720..fb60204 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2885,9 +2885,9 @@ prelude-ls@^1.2.1: integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== prettier@^3.3.2: - version "3.5.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.3.tgz#4fc2ce0d657e7a02e602549f053b239cb7dfe1b5" - integrity sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw== + version "3.6.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393" + integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ== pretty-format@^29.0.0, pretty-format@^29.7.0: version "29.7.0"