Files
Matthieu Riegler cd13f72dfb build: update integration tests to jasmine 7
Update Jasmine dependencies (`jasmine`, `jasmine-core`, and `@types/jasmine`) across
`integration/*` packages to v7 and update the integration test suites accordingly:

- Configure `e2e/` directories as native Node ESM (`{"type": "module"}`), remove
  `"jsLoader": "require"` from `jasmine.json`, and drop `ts-node` registration
  in favor of Node's built-in TypeScript support, since Jasmine 7 removed
  `jsLoader` and always loads helpers and specs via `import()`.
- Update `e2e/` imports and TypeScript code for Node ESM compatibility (explicit
  `.ts` / `.js` extensions, `type` imports, and explicit class fields instead of
  constructor parameter properties).
- Move top-level `stopSpecOnExpectationFailure` and `random` options under `env`
  in `integration/animations/e2e/jasmine.json`.
- Remove unused `zone.js/testing` from `angular.json` Karma test polyfills where
  `patchJasmine` fails against Jasmine 7's frozen environment.
2026-10-26 07:10:42 -07:00

108 lines
3.0 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"core-animations-e2e": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputHashing": "none",
"outputPath": {
"base": "dist",
"browser": ""
},
"index": "src/index.html",
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"optimization": false,
"progress": false,
"browser": "src/main.ts"
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular/build:dev-server",
"options": {
"buildTarget": "core-animations-e2e:build"
},
"configurations": {
"dev": {
"buildTarget": "core-animations-e2e:build:dev"
},
"production": {
"buildTarget": "core-animations-e2e:build:production"
},
"ci": {},
"ci-production": {
"buildTarget": "core-animations-e2e:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "core-animations-e2e:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"progress": false,
"watch": false
}
},
"lint": {
"builder": "@angular/build:tslint",
"options": {
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
"exclude": ["**/node_modules/**"]
}
}
}
}
},
"cli": {
"cache": {
"enabled": false
},
"analytics": false
}
}