We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbbc91 commit a41c523Copy full SHA for a41c523
src/init/features/dataconnect/sdk.spec.ts
@@ -1,4 +1,4 @@
1
-import * as fs from "fs";
+import * as fs from "fs-extra";
2
import * as sinon from "sinon";
3
import { expect } from "chai";
4
@@ -21,6 +21,7 @@ describe("init dataconnect:sdk", () => {
21
22
beforeEach(() => {
23
fsStub = sandbox.stub(fs, "writeFileSync");
24
+ sandbox.stub(fs, "ensureFileSync").returns();
25
generateStub = sandbox.stub(DataConnectEmulator, "generate");
26
emptyConfig = new Config({}, { projectDir: process.cwd() });
27
});
0 commit comments