diff --git a/test-projects/angular-i/src/app/customers/data/customers.json b/test-projects/angular-i/src/app/customers/data/customers.json new file mode 100644 index 0000000..443f9cd --- /dev/null +++ b/test-projects/angular-i/src/app/customers/data/customers.json @@ -0,0 +1,7 @@ +{ + "person": { + "id": 1, + "firstname": "Volker", + "lastname":"Gruber" + } +} diff --git a/test-projects/angular-i/src/app/customers/data/provide-customers.ts b/test-projects/angular-i/src/app/customers/data/provide-customers.ts index 167389b..42b97ee 100644 --- a/test-projects/angular-i/src/app/customers/data/provide-customers.ts +++ b/test-projects/angular-i/src/app/customers/data/provide-customers.ts @@ -2,6 +2,7 @@ import { provideState } from '@ngrx/store'; import { customersFeature } from './customers.reducer'; import { provideEffects } from '@ngrx/effects'; import { CustomersEffects } from './customers.effects'; +import "./customers.json" export const provideCustomers = [ provideState(customersFeature), diff --git a/test-projects/angular-i/tests/expected-user-error-lint.json b/test-projects/angular-i/tests/expected-user-error-lint.json index 902d415..9e4cae2 100644 --- a/test-projects/angular-i/tests/expected-user-error-lint.json +++ b/test-projects/angular-i/tests/expected-user-error-lint.json @@ -341,7 +341,7 @@ "warningCount": 0, "fixableErrorCount": 0, "fixableWarningCount": 0, - "source": "import { provideState } from '@ngrx/store';\nimport { customersFeature } from './customers.reducer';\nimport { provideEffects } from '@ngrx/effects';\nimport { CustomersEffects } from './customers.effects';\n\nexport const provideCustomers = [\n provideState(customersFeature),\n provideEffects([CustomersEffects]),\n];\n", + "source": "import { provideState } from '@ngrx/store';\nimport { customersFeature } from './customers.reducer';\nimport { provideEffects } from '@ngrx/effects';\nimport { CustomersEffects } from './customers.effects';\nimport \"./customers.json\"\n\nexport const provideCustomers = [\n provideState(customersFeature),\n provideEffects([CustomersEffects]),\n];\n", "usedDeprecatedRules": [] }, {