Skip to content

Commit c30ca48

Browse files
test(ng-schematics): update file count expectations in ng-new tests
1 parent 5720d53 commit c30ca48

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/ng-schematics/src/ng-new/index_spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ describe("Schematics ng-new", () => {
136136
expect(mockFunc[1]).toHaveBeenCalled();
137137
}
138138
expect(AppProjectSchematic.default).toHaveBeenCalled();
139-
expect(e.files.length).toEqual(1);
139+
expect(e.files.length).toEqual(2);
140140
expect(e.exists(`${workingDirectory}/.gitignore`)).toBeTruthy();
141141
const taskOptions = runner.tasks.map(task => task.options);
142142
const expectedInstall: NodePackageTaskOptions = {
@@ -189,7 +189,7 @@ describe("Schematics ng-new", () => {
189189
runner.runSchematic("ng-new", { version: "8.0.3", name: workingDirectory }, myTree)
190190
.then((e: UnitTestTree) => {
191191
expect(AppProjectSchematic.default).toHaveBeenCalled();
192-
expect(e.files.length).toEqual(1);
192+
expect(e.files.length).toEqual(2);
193193
expect(e.exists(`${workingDirectory}/.gitignore`)).toBeTruthy();
194194
const taskOptions = runner.tasks.map(task => task.options);
195195
const expectedInstall: NodePackageTaskOptions = {

0 commit comments

Comments
 (0)