Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/angular/ssr/schematics/ng-add/index_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ describe('@angular/ssr ng-add schematic', () => {
routing: false,
style: 'css',
skipTests: false,
standalone: true,
},
appTree,
);
Expand Down
6 changes: 0 additions & 6 deletions packages/angular/ssr/test/app-engine_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,31 @@ import { setAngularAppTestingManifest } from './testing-utils';

function createEntryPoint(locale: string) {
@Component({
standalone: true,
selector: `app-ssr-${locale}`,
template: `SSR works ${locale.toUpperCase()}`,
})
class SSRComponent {}

@Component({
standalone: true,
selector: `app-ssg-${locale}`,
template: `SSG works ${locale.toUpperCase()}`,
})
class SSGComponent {}

return async () => {
@Component({
standalone: true,
selector: `app-home-${locale}`,
template: `Home works ${locale.toUpperCase()}`,
})
class HomeComponent {}

@Component({
standalone: true,
selector: `app-ssr-${locale}`,
template: `SSR works ${locale.toUpperCase()}`,
})
class SSRComponent {}

@Component({
standalone: true,
selector: `app-ssg-${locale}`,
template: `SSG works ${locale.toUpperCase()}`,
})
Expand Down Expand Up @@ -177,7 +172,6 @@ describe('AngularAppEngine', () => {
describe('Non-localized app', () => {
beforeAll(() => {
@Component({
standalone: true,
selector: 'app-home',
template: `Home works`,
})
Expand Down
1 change: 0 additions & 1 deletion packages/angular/ssr/test/app_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ describe('AngularServerApp', () => {

beforeAll(() => {
@Component({
standalone: true,
selector: 'app-home',
template: `Home works`,
})
Expand Down
3 changes: 0 additions & 3 deletions packages/angular/ssr/test/routes/ng-routes_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ describe('extractRoutesAndCreateRouteTree', () => {
const url = new URL('http://localhost');

@Component({
standalone: true,
selector: 'app-dummy-comp',
template: `dummy works`,
})
Expand Down Expand Up @@ -630,7 +629,6 @@ describe('extractRoutesAndCreateRouteTree', () => {

it('should not bootstrap the root component', async () => {
@Component({
standalone: true,
selector: 'app-root',
template: '',
})
Expand Down Expand Up @@ -659,7 +657,6 @@ describe('extractRoutesAndCreateRouteTree', () => {

it('should not bootstrap the root component when using `withEnabledBlockingInitialNavigation`', async () => {
@Component({
standalone: true,
selector: 'app-root',
template: '',
})
Expand Down
1 change: 0 additions & 1 deletion packages/angular/ssr/test/routes/router_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ describe('ServerRouter', () => {

beforeAll(() => {
@Component({
standalone: true,
selector: 'app-dummy',
template: `dummy works`,
})
Expand Down
1 change: 0 additions & 1 deletion packages/angular/ssr/test/testing-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import { ServerAsset, setAngularAppManifest } from '../src/manifest';
import { ServerRoute, provideServerRendering, withRoutes } from '../src/routes/route-config';

@Component({
standalone: true,
selector: 'app-root',
template: '<router-outlet />',
imports: [RouterOutlet],
Expand Down
1 change: 0 additions & 1 deletion packages/schematics/angular/ssr/index_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ describe('SSR Schematic', () => {
routing: false,
style: 'css',
skipTests: false,
standalone: true,
},
appTree,
);
Expand Down
2 changes: 0 additions & 2 deletions tests/legacy-cli/e2e/tests/build/library/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export async function libraryConsumptionSetup(): Promise<void> {
'projects/my-lib/src/lib/my-lib.ts': `import { Component } from '@angular/core';

@Component({
standalone: true,
selector: 'lib-my-lib',
templateUrl: './my-lib.html',
})
Expand All @@ -20,7 +19,6 @@ export async function libraryConsumptionSetup(): Promise<void> {
import { MyLibComponent } from 'my-lib';

@Component({
standalone: true,
selector: 'app-root',
template: '<lib-my-lib></lib-my-lib>',
imports: [MyLibComponent],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default async function () {

@Component({
selector: 'app-root',
standalone: true,
imports: [CommonModule, RouterOutlet],
templateUrl: './app.html',
styleUrls: ['./app.css']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default async function () {

@Component({
selector: 'app-root',
standalone: true,
imports: [CommonModule, RouterOutlet],
template: \`
<p>{{ data | json }}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default async function () {

@Component({
selector: 'app-root',
standalone: true,
imports: [JsonPipe, RouterOutlet],
template: \`
<p>{{ assetsData | json }}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default async function () {

@Component({
selector: 'app-root',
standalone: true,
imports: [CommonModule, RouterOutlet],
template: \`
<p>{{ data | json }}</p>
Expand Down
1 change: 0 additions & 1 deletion tests/legacy-cli/e2e/tests/i18n/extract-ivy-disk-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default async function () {
import { I18nTest } from './i18n-test/i18n-test';

@Component({
standalone: true,
selector: 'app-root',
imports: [I18nTest],
template: '<app-i18n-test />'
Expand Down
1 change: 0 additions & 1 deletion tests/legacy-cli/e2e/tests/i18n/extract-ivy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default async function () {
import { I18nTest } from './i18n-test/i18n-test';

@Component({
standalone: true,
selector: 'app-root',
imports: [I18nTest],
template: '<app-i18n-test />'
Expand Down
1 change: 0 additions & 1 deletion tests/legacy-cli/e2e/tests/i18n/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ export async function setupI18nConfig() {
@Component({
selector: 'app-root',
imports: [DatePipe, RouterOutlet],
standalone: true,
templateUrl: './app.html'
})
export class App {
Expand Down