Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nullfame committed Jul 6, 2024
1 parent db19ccb commit c2416e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__tests__/projectTagger.function.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ describe("ProjectTagger Function", () => {
expect(add).toHaveBeenCalledWith(CDK.TAG.STACK, "MOCK_STACK_NAME");
});
it("Will not tag stackName if not passed", () => {
/* eslint-disable no-shadow */
const add = jest.fn();
const of = jest.fn(() => ({ add }));
const cdk = {
Tags: {
of,
},
};
/* eslint-enable no-shadow */
const response = projectTagger({
cdk,
stack: "MOCK_STACK",
Expand Down

0 comments on commit c2416e8

Please sign in to comment.