Skip to content

Commit 83bd84a

Browse files
committed
fix(igx-ts-legacy): update tests
1 parent 6aebbbb commit 83bd84a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/unit/base-templates/IgniteUIForAngularTemplate-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ describe("Unit - IgniteUIForAngularTemplate Base", () => {
6969
spyOn(templ, "fileExists").and.returnValue(true);
7070
spyOn(App.container, "get").and.returnValue(mockFS);
7171
spyOn(mockFS, "fileExists").and.callFake(file => {
72-
if (file === "src/app/app-routing.module.ts") {
72+
if (file === "src/app/app-routing-module.ts") {
7373
return true;
7474
}
7575
});
7676
templ.registerInProject("target/path", "view name");
7777
expect(helpers.AngularTypeScriptFileUpdate)
78-
.toHaveBeenCalledWith(path.join("target/path", "src/app/app-routing.module.ts"), false, { indentSize: 2, singleQuotes: true });
78+
.toHaveBeenCalledWith(path.join("target/path", "src/app/app-routing-module.ts"), false, { indentSize: 2, singleQuotes: true });
7979
expect(helpers.tsUpdateMock.addRoute).toHaveBeenCalledWith(
8080
{
8181
modulePath: './view-name/view-name',

0 commit comments

Comments
 (0)