Skip to content

Commit 33adfec

Browse files
committed
test: update test - skip handling added view deps
1 parent 89ec281 commit 33adfec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/acceptance/add-spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import {
44
GoogleAnalytics,
55
GoogleAnalyticsParameters,
66
ProjectConfig,
7-
Config
7+
Config,
8+
PackageManager
89
} from "@igniteui/cli-core";
910
import * as fs from "fs";
1011
import { EOL } from "os";
@@ -312,6 +313,7 @@ export class AppModule {
312313
// TODO: Mock out template manager and project register
313314
const mockConfig = {} as unknown as Config;
314315
spyOn(ProjectConfig, "globalConfig").and.returnValue(mockConfig);
316+
spyOn(PackageManager, "queuePackage");
315317

316318
fs.writeFileSync(ProjectConfig.configFile, JSON.stringify({
317319
project: { framework: "react", projectType: "igr-ts", components: [] }

0 commit comments

Comments
 (0)