Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kburov-sc committed Sep 5, 2024
1 parent bd50fb5 commit 35c6405
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/__tests__/Container.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,7 @@ describe("Container", () => {
let value: string = childContainerWithOverride.get("value");
expect(value).toBe("two");

const partialContainer = new PartialContainer({
value: Injectable("value", () => "three"),
});
const partialContainer = new PartialContainer({}).provides(Injectable("value", () => "three"));
childContainerWithOverride = parentContainer.provides(partialContainer);
value = childContainerWithOverride.get("value");
expect(value).toBe("three");
Expand Down

0 comments on commit 35c6405

Please sign in to comment.