Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
rajpreet-s committed Sep 27, 2024
1 parent 947739f commit 87ca04c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/helpers/commonHelper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ import { ShowInputBoxHelper } from "../../helpers/showInputBoxHelper";
import { GlobalStore } from "../../helpers/globalStore";
import { MessageStatus, Organization } from "../../constants";
import { expect, sinon } from "../setup";
import { statusBarMessageHelper } from "helpers";
import { StatusBarMessageHelper } from "../../helpers/statusBarMessageHelper";

describe("Common Helper", () => {
let common: Common;
let loggerStub: sinon.SinonStubbedInstance<typeof Logger>;
let showInputBoxHelperStub: sinon.SinonStubbedInstance<ShowInputBoxHelper>;
let globalStoreStub: sinon.SinonStubbedInstance<GlobalStore>;
let statusBarMessageHelperStub: sinon.SinonStubbedInstance<StatusBarMessageHelper>;
let sandbox: sinon.SinonSandbox;

beforeEach(() => {
Expand All @@ -28,7 +29,7 @@ describe("Common Helper", () => {
getRepository: sandbox.stub(),
} as any;

common = new Common(loggerStub, showInputBoxHelperStub, globalStoreStub, statusBarMessageHelper);
common = new Common(loggerStub, showInputBoxHelperStub, globalStoreStub, statusBarMessageHelperStub);
});

afterEach(() => {
Expand Down

0 comments on commit 87ca04c

Please sign in to comment.