Skip to content

Commit db5be6c

Browse files
committed
Fix issues with test
1 parent 3cceb9c commit db5be6c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/mcp/util/apptesting/availability.spec.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
import * as mockfs from "mock-fs";
2-
import sinon from "sinon";
3-
import * as ensureApiEnabled from "../../../ensureApiEnabled";
4-
import { FirebaseMcpServer } from "../..";
2+
import * as sinon from "sinon";
3+
import { FirebaseMcpServer } from "../../index";
54
import { RC } from "../../../rc";
65
import { Config } from "../../../config";
76
import { McpContext } from "../../types";
87
import { isAppTestingAvailable } from "./availability";
98
import { expect } from "chai";
9+
import * as ensureApiEnabled from "../../../ensureApiEnabled";
1010

1111
describe("isAppTestingAvailable", () => {
12-
const sandbox: sinon.SinonSandbox = sinon.createSandbox();
12+
let sandbox: sinon.SinonSandbox;
1313
let checkStub: sinon.SinonStub;
1414

1515
beforeEach(() => {
16+
sandbox = sinon.createSandbox();
1617
checkStub = sandbox.stub(ensureApiEnabled, "check");
1718
});
1819

0 commit comments

Comments
 (0)