Skip to content

Commit 8db3079

Browse files
committed
fix(igx-ts-legacy): fixing tests
1 parent f5a61f3 commit 8db3079

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

spec/unit/ts-transform/AngularTypeScriptFileUpdate-spec.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
150150
EOL +
151151
`export const routes: Routes = [` +
152152
EOL +
153-
` { path: 'error', component: UncaughtErrorComponent },` +
153+
` { path: 'error', component: UncaughtError },` +
154154
EOL +
155-
` { path: '**', component: PageNotFoundComponent } // must always be last` +
155+
` { path: '**', component: NotFound } // must always be last` +
156156
EOL +
157157
`];` +
158158
EOL +
@@ -1101,8 +1101,6 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
11011101
EOL +
11021102
` selector: 'app-root',` +
11031103
EOL +
1104-
` standalone: true,` +
1105-
EOL +
11061104
` imports: [CommonModule, RouterOutlet, MyComponent],` +
11071105
EOL +
11081106
` templateUrl: './app.html',` +
@@ -1148,8 +1146,6 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
11481146
EOL +
11491147
` selector: 'app-root',` +
11501148
EOL +
1151-
` standalone: true,` +
1152-
EOL +
11531149
` imports: [CommonModule, RouterOutlet],` +
11541150
EOL +
11551151
` templateUrl: './app.html',` +
@@ -1217,8 +1213,6 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
12171213
EOL +
12181214
` selector: 'app-root',` +
12191215
EOL +
1220-
` standalone: true,` +
1221-
EOL +
12221216
` imports: [CommonModule, RouterOutlet, ReplaceModule],` +
12231217
EOL +
12241218
` templateUrl: './app.html',` +
@@ -1272,8 +1266,6 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
12721266
EOL +
12731267
` selector: 'app-root',` +
12741268
EOL +
1275-
` standalone: true,` +
1276-
EOL +
12771269
` imports: [CommonModule, RouterOutlet],` +
12781270
EOL +
12791271
` templateUrl: './app.html',` +
@@ -1304,7 +1296,6 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
13041296
13051297
@Component({
13061298
selector: 'app-root',
1307-
standalone: true,
13081299
imports: [
13091300
BrowserModule,
13101301
HammerModule,
@@ -1354,8 +1345,6 @@ describe('Unit - AngularTypeScriptFileUpdate', () => {
13541345
EOL +
13551346
` selector: 'app-root',` +
13561347
EOL +
1357-
` standalone: true,` +
1358-
EOL +
13591348
` imports: [` +
13601349
EOL +
13611350
` AppRoutingModule,` +

0 commit comments

Comments
 (0)