When using the `history` API, setting a new `state` and retrieving it does not pass a `===` test to the object used to set the state. In other words, `history.state` is always a copy. This change makes the `MockPlatformLocation` behave in the same way. PR Close #30055
27 lines
645 B
JSON
27 lines
645 B
JSON
{
|
|
"extends": "../tsconfig-build.json",
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"rootDir": "../",
|
|
"paths": {
|
|
"@angular/core": [
|
|
"../../../dist/packages/core"
|
|
],
|
|
"@angular/common": [
|
|
"../../../dist/packages/common"
|
|
]
|
|
},
|
|
"outDir": "../../../dist/packages/common"
|
|
},
|
|
"files": [
|
|
"public_api.ts",
|
|
"../../../node_modules/zone.js/dist/zone.js.d.ts"
|
|
],
|
|
"angularCompilerOptions": {
|
|
"annotateForClosureCompiler": true,
|
|
"strictMetadataEmit": false,
|
|
"skipTemplateCodegen": true,
|
|
"flatModuleOutFile": "testing.js",
|
|
"flatModuleId": "@angular/common/testing"
|
|
}
|
|
} |