diff --git a/.ng-dev/format.mts b/.ng-dev/format.mts index febcd823f2d..a4e9755837d 100644 --- a/.ng-dev/format.mts +++ b/.ng-dev/format.mts @@ -9,6 +9,7 @@ export const format: FormatConfig = { '**/*.{yaml,yml}', 'adev/**/*.{js,ts}', 'devtools/**/*.{js,ts}', + 'integration/**/*.{js,ts}', 'tools/**/*.{js,ts}', 'modules/**/*.{js,ts}', 'scripts/**/*.{js,ts}', diff --git a/integration/animations-async/karma.conf.js b/integration/animations-async/karma.conf.js index 4a43e961fd5..de6f6a9799e 100644 --- a/integration/animations-async/karma.conf.js +++ b/integration/animations-async/karma.conf.js @@ -10,15 +10,15 @@ module.exports = function (config) { require('karma-chrome-launcher'), require('karma-jasmine-html-reporter'), require('karma-coverage-istanbul-reporter'), - require('@angular-devkit/build-angular/plugins/karma') + require('@angular-devkit/build-angular/plugins/karma'), ], client: { - clearContext: false // leave Jasmine Spec Runner output visible in browser + clearContext: false, // leave Jasmine Spec Runner output visible in browser }, coverageIstanbulReporter: { dir: require('path').join(__dirname, './coverage/latest-app'), reports: ['html', 'lcovonly', 'text-summary'], - fixWebpackSourcePaths: true + fixWebpackSourcePaths: true, }, reporters: ['progress', 'kjhtml'], port: 9876, @@ -29,11 +29,18 @@ module.exports = function (config) { ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', // See /integration/README.md#browser-tests for more info on these args - flags: ['--no-sandbox', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--hide-scrollbars', '--mute-audio'] - } + flags: [ + '--no-sandbox', + '--headless', + '--disable-gpu', + '--disable-dev-shm-usage', + '--hide-scrollbars', + '--mute-audio', + ], + }, }, browsers: ['ChromeHeadlessNoSandbox'], singleRun: false, - restartOnFileChange: true + restartOnFileChange: true, }); }; diff --git a/integration/animations-async/src/app/app.component.ts b/integration/animations-async/src/app/app.component.ts index 516c873b55f..433c8f3ebc6 100644 --- a/integration/animations-async/src/app/app.component.ts +++ b/integration/animations-async/src/app/app.component.ts @@ -6,5 +6,4 @@ import {RouterModule} from '@angular/router'; imports: [RouterModule], standalone: true, }) -export class AppComponent { -} +export class AppComponent {} diff --git a/integration/animations-async/src/app/open-close.component.ts b/integration/animations-async/src/app/open-close.component.ts index 39f2ff200a9..04343dcee6e 100644 --- a/integration/animations-async/src/app/open-close.component.ts +++ b/integration/animations-async/src/app/open-close.component.ts @@ -3,19 +3,13 @@ import {Component} from '@angular/core'; @Component({ selector: 'app-open-close', animations: [ - trigger( - 'openClose', - [ - // ... - state( - 'open', - style({height: '200px', opacity: 1, backgroundColor: 'yellow'})), - state( - 'closed', - style({height: '100px', opacity: 0.8, backgroundColor: 'blue'})), - transition('open => closed', [animate('1s')]), - transition('closed => open', [animate('0.5s')]), - ]), + trigger('openClose', [ + // ... + state('open', style({height: '200px', opacity: 1, backgroundColor: 'yellow'})), + state('closed', style({height: '100px', opacity: 0.8, backgroundColor: 'blue'})), + transition('open => closed', [animate('1s')]), + transition('closed => open', [animate('0.5s')]), + ]), ], template: `