From f46f44eff77415c40be5c37374968b0a2d2cc7a8 Mon Sep 17 00:00:00 2001 From: Arkadiusz Szechlicki Date: Mon, 11 May 2020 22:04:22 +0200 Subject: [PATCH] fix(schematics): rename skipTest to skipTests fixes #2521 --- modules/effects/schematics/ng-add/index.spec.ts | 12 +++++------- modules/effects/schematics/ng-add/index.ts | 2 +- modules/effects/schematics/ng-add/schema.json | 2 +- modules/effects/schematics/ng-add/schema.ts | 2 +- modules/schematics/src/action/index.spec.ts | 4 ++-- modules/schematics/src/action/index.ts | 2 +- modules/schematics/src/action/schema.json | 2 +- modules/schematics/src/action/schema.ts | 2 +- modules/schematics/src/container/index.ts | 2 +- modules/schematics/src/container/schema.json | 2 +- modules/schematics/src/container/schema.ts | 2 +- modules/schematics/src/data/index.spec.ts | 2 +- modules/schematics/src/data/index.ts | 2 +- modules/schematics/src/data/schema.json | 2 +- modules/schematics/src/data/schema.ts | 2 +- modules/schematics/src/effect/index.spec.ts | 12 +++++------- modules/schematics/src/effect/index.ts | 2 +- modules/schematics/src/effect/schema.json | 2 +- modules/schematics/src/effect/schema.ts | 2 +- modules/schematics/src/entity/index.ts | 2 +- modules/schematics/src/entity/schema.json | 2 +- modules/schematics/src/entity/schema.ts | 2 +- modules/schematics/src/feature/index.spec.ts | 2 +- modules/schematics/src/feature/index.ts | 8 ++++---- modules/schematics/src/feature/schema.json | 2 +- modules/schematics/src/feature/schema.ts | 2 +- modules/schematics/src/reducer/index.spec.ts | 2 +- modules/schematics/src/reducer/index.ts | 2 +- modules/schematics/src/reducer/schema.json | 2 +- modules/schematics/src/reducer/schema.ts | 2 +- modules/schematics/src/selector/index.spec.ts | 2 +- modules/schematics/src/selector/index.ts | 2 +- modules/schematics/src/selector/schema.json | 2 +- modules/schematics/src/selector/schema.ts | 2 +- modules/schematics/src/store/schema.json | 2 +- modules/schematics/src/store/schema.ts | 2 +- projects/ngrx.io/content/guide/effects/install.md | 2 +- projects/ngrx.io/content/guide/schematics/action.md | 2 +- projects/ngrx.io/content/guide/schematics/data.md | 2 +- projects/ngrx.io/content/guide/schematics/effect.md | 2 +- projects/ngrx.io/content/guide/schematics/entity.md | 2 +- projects/ngrx.io/content/guide/schematics/feature.md | 2 +- projects/ngrx.io/content/guide/schematics/reducer.md | 2 +- .../ngrx.io/content/guide/schematics/selector.md | 2 +- 44 files changed, 56 insertions(+), 60 deletions(-) diff --git a/modules/effects/schematics/ng-add/index.spec.ts b/modules/effects/schematics/ng-add/index.spec.ts index a08dda6dd4..63d3b12ffd 100644 --- a/modules/effects/schematics/ng-add/index.spec.ts +++ b/modules/effects/schematics/ng-add/index.spec.ts @@ -124,8 +124,8 @@ describe('Effects ng-add Schematic', () => { expect(thrownError).toBeDefined(); }); - it('should respect the skipTest flag', () => { - const options = { ...defaultOptions, skipTest: true }; + it('should respect the skipTests flag', () => { + const options = { ...defaultOptions, skipTests: true }; const tree = schematicRunner.runSchematic('ng-add', options, appTree); const files = tree.files; @@ -203,7 +203,7 @@ describe('Effects ng-add Schematic', () => { const options = { ...defaultOptions, flat: true, - skipTest: true, + skipTests: true, group: true, }; @@ -215,7 +215,7 @@ describe('Effects ng-add Schematic', () => { }); it('should inject the effect service correctly', async () => { - const options = { ...defaultOptions, skipTest: false }; + const options = { ...defaultOptions, skipTests: false }; const tree = await schematicRunner .runSchematicAsync('ng-add', options, appTree) .toPromise(); @@ -223,8 +223,6 @@ describe('Effects ng-add Schematic', () => { `${projectPath}/src/app/foo/foo.effects.spec.ts` ); - expect(content).toMatch( - /effects = TestBed\.inject\(FooEffects\);/ - ); + expect(content).toMatch(/effects = TestBed\.inject\(FooEffects\);/); }); }); diff --git a/modules/effects/schematics/ng-add/index.ts b/modules/effects/schematics/ng-add/index.ts index 046c4a069f..f89a5fc74a 100644 --- a/modules/effects/schematics/ng-add/index.ts +++ b/modules/effects/schematics/ng-add/index.ts @@ -129,7 +129,7 @@ export default function(options: EffectOptions): Rule { options.path = parsedPath.path; const templateSource = apply(url('./files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), options.minimal ? filter(_ => false) : noop(), diff --git a/modules/effects/schematics/ng-add/schema.json b/modules/effects/schematics/ng-add/schema.json index 90830fa0bd..4c2ca24b06 100644 --- a/modules/effects/schematics/ng-add/schema.json +++ b/modules/effects/schematics/ng-add/schema.json @@ -26,7 +26,7 @@ "default": true, "description": "Flag to indicate if a dir is created." }, - "skipTest": { + "skipTests": { "type": "boolean", "default": false, "description": "When true, does not create test files." diff --git a/modules/effects/schematics/ng-add/schema.ts b/modules/effects/schematics/ng-add/schema.ts index f04397c307..1ba2f9d1e2 100644 --- a/modules/effects/schematics/ng-add/schema.ts +++ b/modules/effects/schematics/ng-add/schema.ts @@ -3,7 +3,7 @@ export interface Schema { skipPackageJson?: boolean; path?: string; flat?: boolean; - skipTest?: boolean; + skipTests?: boolean; project?: string; module?: string; group?: boolean; diff --git a/modules/schematics/src/action/index.spec.ts b/modules/schematics/src/action/index.spec.ts index e27e7cc5b0..8747e4ee6d 100644 --- a/modules/schematics/src/action/index.spec.ts +++ b/modules/schematics/src/action/index.spec.ts @@ -73,10 +73,10 @@ describe('Action Schematic', () => { ).toBeGreaterThanOrEqual(0); }); - it('should not create test files when skipTest is set to true', () => { + it('should not create test files when skipTests is set to true', () => { const options = { ...defaultOptions, - skipTest: true, + skipTests: true, }; const tree = schematicRunner.runSchematic('action', options, appTree); expect( diff --git a/modules/schematics/src/action/index.ts b/modules/schematics/src/action/index.ts index 1a46ee4ee4..f42a729d2f 100644 --- a/modules/schematics/src/action/index.ts +++ b/modules/schematics/src/action/index.ts @@ -32,7 +32,7 @@ export default function(options: ActionOptions): Rule { const templateSource = apply( url(options.creators ? './creator-files' : './files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), applyTemplates({ diff --git a/modules/schematics/src/action/schema.json b/modules/schematics/src/action/schema.json index 3dda5e1b3f..652be61707 100644 --- a/modules/schematics/src/action/schema.json +++ b/modules/schematics/src/action/schema.json @@ -24,7 +24,7 @@ "description": "The name of the project.", "aliases": ["p"] }, - "skipTest": { + "skipTests": { "type": "boolean", "description": "When true, does not create test files.", "default": false diff --git a/modules/schematics/src/action/schema.ts b/modules/schematics/src/action/schema.ts index 4f6507e31b..bf0cf121a7 100644 --- a/modules/schematics/src/action/schema.ts +++ b/modules/schematics/src/action/schema.ts @@ -17,7 +17,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Flag to indicate if a dir is created. diff --git a/modules/schematics/src/container/index.ts b/modules/schematics/src/container/index.ts index 391024406c..6dd9cd5518 100644 --- a/modules/schematics/src/container/index.ts +++ b/modules/schematics/src/container/index.ts @@ -136,7 +136,7 @@ export default function(options: ContainerOptions): Rule { const templateSource = apply( url(options.testDepth === 'unit' ? './files' : './integration-files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), applyTemplates({ diff --git a/modules/schematics/src/container/schema.json b/modules/schematics/src/container/schema.json index 7a0c0593ab..954126fdac 100644 --- a/modules/schematics/src/container/schema.json +++ b/modules/schematics/src/container/schema.json @@ -57,7 +57,7 @@ "The file extension or preprocessor to use for style files.", "type": "string" }, - "skipTest": { + "skipTests": { "type": "boolean", "description": "When true, does not create test files." }, diff --git a/modules/schematics/src/container/schema.ts b/modules/schematics/src/container/schema.ts index ec916fa7fa..a39f7e00ca 100644 --- a/modules/schematics/src/container/schema.ts +++ b/modules/schematics/src/container/schema.ts @@ -38,7 +38,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Flag to indicate if a dir is created. */ diff --git a/modules/schematics/src/data/index.spec.ts b/modules/schematics/src/data/index.spec.ts index 00561feba5..c006cc11f2 100644 --- a/modules/schematics/src/data/index.spec.ts +++ b/modules/schematics/src/data/index.spec.ts @@ -59,7 +59,7 @@ describe('Data Schematic', () => { ).toBeGreaterThanOrEqual(0); }); - it('should create two files if skipTest is false(as it is by default)', () => { + it('should create two files if skipTests is false(as it is by default)', () => { const options = { ...defaultOptions, }; diff --git a/modules/schematics/src/data/index.ts b/modules/schematics/src/data/index.ts index ad40bd87ef..6ea7dfc6df 100644 --- a/modules/schematics/src/data/index.ts +++ b/modules/schematics/src/data/index.ts @@ -28,7 +28,7 @@ export default function(options: DataOptions): Rule { options.path = parsedPath.path; const templateSource = apply(url('./files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), applyTemplates({ diff --git a/modules/schematics/src/data/schema.json b/modules/schematics/src/data/schema.json index 6f2c040327..a712ca2968 100644 --- a/modules/schematics/src/data/schema.json +++ b/modules/schematics/src/data/schema.json @@ -23,7 +23,7 @@ "description": "The name of the project.", "aliases": ["p"] }, - "skipTest": { + "skipTests": { "type": "boolean", "description": "When true, does not create test files.", "default": false diff --git a/modules/schematics/src/data/schema.ts b/modules/schematics/src/data/schema.ts index c177bd5386..da41e02906 100644 --- a/modules/schematics/src/data/schema.ts +++ b/modules/schematics/src/data/schema.ts @@ -17,7 +17,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Flag to indicate if a dir is created. diff --git a/modules/schematics/src/effect/index.spec.ts b/modules/schematics/src/effect/index.spec.ts index 4b2810b082..58437c0037 100644 --- a/modules/schematics/src/effect/index.spec.ts +++ b/modules/schematics/src/effect/index.spec.ts @@ -103,8 +103,8 @@ describe('Effect Schematic', () => { expect(thrownError).toBeDefined(); }); - it('should respect the skipTest flag', () => { - const options = { ...defaultOptions, skipTest: true }; + it('should respect the skipTests flag', () => { + const options = { ...defaultOptions, skipTests: true }; const tree = schematicRunner.runSchematic('effect', options, appTree); const files = tree.files; @@ -243,7 +243,7 @@ describe('Effect Schematic', () => { const options = { ...defaultOptions, flat: true, - skipTest: true, + skipTests: true, group: true, }; @@ -257,7 +257,7 @@ describe('Effect Schematic', () => { it('should group and nest the effect within a feature', () => { const options = { ...defaultOptions, - skipTest: true, + skipTests: true, group: true, flat: false, feature: true, @@ -417,8 +417,6 @@ describe('Effect Schematic', () => { `${projectPath}/src/app/foo/foo.effects.spec.ts` ); - expect(content).toMatch( - /effects = TestBed\.inject\(FooEffects\);/ - ); + expect(content).toMatch(/effects = TestBed\.inject\(FooEffects\);/); }); }); diff --git a/modules/schematics/src/effect/index.ts b/modules/schematics/src/effect/index.ts index 95be993b0a..23b8c22873 100644 --- a/modules/schematics/src/effect/index.ts +++ b/modules/schematics/src/effect/index.ts @@ -130,7 +130,7 @@ export default function(options: EffectOptions): Rule { options.path = parsedPath.path; const templateSource = apply(url('./files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), options.root && options.minimal ? filter(_ => false) : noop(), diff --git a/modules/schematics/src/effect/schema.json b/modules/schematics/src/effect/schema.json index 68bdd3904b..d329973637 100644 --- a/modules/schematics/src/effect/schema.json +++ b/modules/schematics/src/effect/schema.json @@ -29,7 +29,7 @@ "default": true, "description": "Flag to indicate if a dir is created." }, - "skipTest": { + "skipTests": { "type": "boolean", "default": false, "description": "When true, does not create test files." diff --git a/modules/schematics/src/effect/schema.ts b/modules/schematics/src/effect/schema.ts index a9313ee4cd..cbee7c67e0 100644 --- a/modules/schematics/src/effect/schema.ts +++ b/modules/schematics/src/effect/schema.ts @@ -22,7 +22,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Allows specification of the declaring module. diff --git a/modules/schematics/src/entity/index.ts b/modules/schematics/src/entity/index.ts index 0a71d411c4..2439f7ac0e 100644 --- a/modules/schematics/src/entity/index.ts +++ b/modules/schematics/src/entity/index.ts @@ -51,7 +51,7 @@ export default function(options: EntityOptions): Rule { }; const commonTemplates = apply(url('./common-files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), applyTemplates(templateOptions), diff --git a/modules/schematics/src/entity/schema.json b/modules/schematics/src/entity/schema.json index 9c1be7748a..d1bb123783 100644 --- a/modules/schematics/src/entity/schema.json +++ b/modules/schematics/src/entity/schema.json @@ -24,7 +24,7 @@ "description": "The name of the project.", "aliases": ["p"] }, - "skipTest": { + "skipTests": { "type": "boolean", "description": "When true, does not create test files.", "default": false diff --git a/modules/schematics/src/entity/schema.ts b/modules/schematics/src/entity/schema.ts index de2802d4c7..ff6e7ab78f 100644 --- a/modules/schematics/src/entity/schema.ts +++ b/modules/schematics/src/entity/schema.ts @@ -20,7 +20,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Allows specification of the declaring module. */ diff --git a/modules/schematics/src/feature/index.spec.ts b/modules/schematics/src/feature/index.spec.ts index 2ff73cb4dc..1a1fd05287 100644 --- a/modules/schematics/src/feature/index.spec.ts +++ b/modules/schematics/src/feature/index.spec.ts @@ -63,7 +63,7 @@ describe('Feature Schematic', () => { }); it('should not create test files', () => { - const options = { ...defaultOptions, skipTest: true }; + const options = { ...defaultOptions, skipTests: true }; const tree = schematicRunner.runSchematic('feature', options, appTree); const files = tree.files; diff --git a/modules/schematics/src/feature/index.ts b/modules/schematics/src/feature/index.ts index 74842d0ae2..d41225fc17 100644 --- a/modules/schematics/src/feature/index.ts +++ b/modules/schematics/src/feature/index.ts @@ -16,7 +16,7 @@ export default function(options: FeatureOptions): Rule { name: options.name, path: options.path, project: options.project, - skipTest: options.skipTest, + skipTests: options.skipTests, api: options.api, creators: options.creators, }), @@ -27,7 +27,7 @@ export default function(options: FeatureOptions): Rule { name: options.name, path: options.path, project: options.project, - skipTest: options.skipTest, + skipTests: options.skipTests, reducers: options.reducers, feature: true, api: options.api, @@ -40,7 +40,7 @@ export default function(options: FeatureOptions): Rule { name: options.name, path: options.path, project: options.project, - skipTest: options.skipTest, + skipTests: options.skipTests, feature: true, api: options.api, creators: options.creators, @@ -51,7 +51,7 @@ export default function(options: FeatureOptions): Rule { name: options.name, path: options.path, project: options.project, - skipTest: options.skipTest, + skipTests: options.skipTests, feature: true, }), ])(host, context); diff --git a/modules/schematics/src/feature/schema.json b/modules/schematics/src/feature/schema.json index f91a394cca..3788dbe2c8 100644 --- a/modules/schematics/src/feature/schema.json +++ b/modules/schematics/src/feature/schema.json @@ -34,7 +34,7 @@ "description": "Specifies the declaring module.", "aliases": ["m"] }, - "skipTest": { + "skipTests": { "type": "boolean", "default": false, "description": "When true, does not create test files." diff --git a/modules/schematics/src/feature/schema.ts b/modules/schematics/src/feature/schema.ts index 706cc1911e..372acc6ba4 100644 --- a/modules/schematics/src/feature/schema.ts +++ b/modules/schematics/src/feature/schema.ts @@ -22,7 +22,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Allows specification of the declaring module. diff --git a/modules/schematics/src/reducer/index.spec.ts b/modules/schematics/src/reducer/index.spec.ts index 0ddd5e1ec3..ec9109bf30 100644 --- a/modules/schematics/src/reducer/index.spec.ts +++ b/modules/schematics/src/reducer/index.spec.ts @@ -272,7 +272,7 @@ describe('Reducer Schematic', () => { it('should group and nest the reducer within a feature', () => { const options = { ...defaultOptions, - skipTest: true, + skipTests: true, group: true, flat: false, feature: true, diff --git a/modules/schematics/src/reducer/index.ts b/modules/schematics/src/reducer/index.ts index 2d639c25a6..a89bd42256 100644 --- a/modules/schematics/src/reducer/index.ts +++ b/modules/schematics/src/reducer/index.ts @@ -50,7 +50,7 @@ export default function(options: ReducerOptions): Rule { }; const commonTemplate = apply(url('./common-files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), applyTemplates(templateOptions), diff --git a/modules/schematics/src/reducer/schema.json b/modules/schematics/src/reducer/schema.json index 8d071269db..a8d7505c7b 100644 --- a/modules/schematics/src/reducer/schema.json +++ b/modules/schematics/src/reducer/schema.json @@ -24,7 +24,7 @@ "description": "The name of the project.", "aliases": ["p"] }, - "skipTest": { + "skipTests": { "type": "boolean", "description": "When true, does not create test files.", "default": false diff --git a/modules/schematics/src/reducer/schema.ts b/modules/schematics/src/reducer/schema.ts index cb8cceb6b6..70d6acfde8 100644 --- a/modules/schematics/src/reducer/schema.ts +++ b/modules/schematics/src/reducer/schema.ts @@ -22,7 +22,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Allows specification of the declaring module. diff --git a/modules/schematics/src/selector/index.spec.ts b/modules/schematics/src/selector/index.spec.ts index 46685b899e..f6d0834c94 100644 --- a/modules/schematics/src/selector/index.spec.ts +++ b/modules/schematics/src/selector/index.spec.ts @@ -61,7 +61,7 @@ describe('Selector Schematic', () => { it('should not create a spec file if spec is false', () => { const options = { ...defaultOptions, - skipTest: true, + skipTests: true, }; const tree = schematicRunner.runSchematic('selector', options, appTree); diff --git a/modules/schematics/src/selector/index.ts b/modules/schematics/src/selector/index.ts index 7b47c603d5..735911290f 100644 --- a/modules/schematics/src/selector/index.ts +++ b/modules/schematics/src/selector/index.ts @@ -28,7 +28,7 @@ export default function(options: SelectorOptions): Rule { options.path = parsedPath.path; const templateSource = apply(url('./files'), [ - options.skipTest + options.skipTests ? filter(path => !path.endsWith('.spec.ts.template')) : noop(), applyTemplates({ diff --git a/modules/schematics/src/selector/schema.json b/modules/schematics/src/selector/schema.json index 4c8e575baa..c16ea162a5 100644 --- a/modules/schematics/src/selector/schema.json +++ b/modules/schematics/src/selector/schema.json @@ -23,7 +23,7 @@ "description": "The name of the project.", "aliases": ["p"] }, - "skipTest": { + "skipTests": { "type": "boolean", "description": "When true, does not create test files.", "default": false diff --git a/modules/schematics/src/selector/schema.ts b/modules/schematics/src/selector/schema.ts index 685f5bda71..8e135360f9 100644 --- a/modules/schematics/src/selector/schema.ts +++ b/modules/schematics/src/selector/schema.ts @@ -22,7 +22,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Specifies if this is grouped within a feature diff --git a/modules/schematics/src/store/schema.json b/modules/schematics/src/store/schema.json index a9f95e366b..f798772734 100644 --- a/modules/schematics/src/store/schema.json +++ b/modules/schematics/src/store/schema.json @@ -29,7 +29,7 @@ "default": true, "description": "Flag to indicate if a dir is created." }, - "skipTest": { + "skipTests": { "type": "boolean", "default": false, "description": "When true, does not create test files." diff --git a/modules/schematics/src/store/schema.ts b/modules/schematics/src/store/schema.ts index 8e1cbc4f5d..20cb63769c 100644 --- a/modules/schematics/src/store/schema.ts +++ b/modules/schematics/src/store/schema.ts @@ -20,7 +20,7 @@ export interface Schema { /** * When true, does not create test files. */ - skipTest?: boolean; + skipTests?: boolean; /** * Allows specification of the declaring module. */ diff --git a/projects/ngrx.io/content/guide/effects/install.md b/projects/ngrx.io/content/guide/effects/install.md index df69a91b59..88d3f0a90e 100644 --- a/projects/ngrx.io/content/guide/effects/install.md +++ b/projects/ngrx.io/content/guide/effects/install.md @@ -28,7 +28,7 @@ ng add @ngrx/effects * path - path to the module that you wish to add the import for the `EffectsModule` to. * flat - Indicate if a directory is to be created to hold your effects file -* skipTest - When true, does not create test files. +* skipTests - When true, does not create test files. * project - name of the project defined in your `angular.json` to help locating the module to add the `EffectsModule` to. * module - name of file containing the module that you wish to add the import for the `EffectsModule` to. Can also include the relative path to the file. For example, `src/app/app.module.ts` * minimal - By default true, only provide minimal setup for the root effects setup. Only registers `EffectsModule.forRoot()` in the provided `module` with an empty array. diff --git a/projects/ngrx.io/content/guide/schematics/action.md b/projects/ngrx.io/content/guide/schematics/action.md index dc869bbb37..e512d05fee 100644 --- a/projects/ngrx.io/content/guide/schematics/action.md +++ b/projects/ngrx.io/content/guide/schematics/action.md @@ -56,7 +56,7 @@ Specifies if api success and failure actions should be generated. Generate a spec file alongside the action file. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false` diff --git a/projects/ngrx.io/content/guide/schematics/data.md b/projects/ngrx.io/content/guide/schematics/data.md index 8757d1f73e..c4fc83fc6a 100644 --- a/projects/ngrx.io/content/guide/schematics/data.md +++ b/projects/ngrx.io/content/guide/schematics/data.md @@ -41,7 +41,7 @@ Group the data entity files within an `data` folder. Generate a spec file alongside the data entity files. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false` diff --git a/projects/ngrx.io/content/guide/schematics/effect.md b/projects/ngrx.io/content/guide/schematics/effect.md index ce59144b2f..e7eac5521f 100644 --- a/projects/ngrx.io/content/guide/schematics/effect.md +++ b/projects/ngrx.io/content/guide/schematics/effect.md @@ -73,7 +73,7 @@ Specifies if effect has api success and failure actions wired up. Generate a spec file alongside the effect file. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false` diff --git a/projects/ngrx.io/content/guide/schematics/entity.md b/projects/ngrx.io/content/guide/schematics/entity.md index 68be7b7e16..4d94088461 100644 --- a/projects/ngrx.io/content/guide/schematics/entity.md +++ b/projects/ngrx.io/content/guide/schematics/entity.md @@ -53,7 +53,7 @@ Provide the path to a `reducers` file containing a state interface and a object Generate spec files associated with the entity files. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false` diff --git a/projects/ngrx.io/content/guide/schematics/feature.md b/projects/ngrx.io/content/guide/schematics/feature.md index a800e6d730..1b5260e714 100644 --- a/projects/ngrx.io/content/guide/schematics/feature.md +++ b/projects/ngrx.io/content/guide/schematics/feature.md @@ -67,7 +67,7 @@ Specifies if api success and failure `actions`, `reducer`, and `effects` should Generate spec files associated with the feature files. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false` diff --git a/projects/ngrx.io/content/guide/schematics/reducer.md b/projects/ngrx.io/content/guide/schematics/reducer.md index 256d0d12d5..777a0c264b 100644 --- a/projects/ngrx.io/content/guide/schematics/reducer.md +++ b/projects/ngrx.io/content/guide/schematics/reducer.md @@ -68,7 +68,7 @@ Specifies if api success and failure actions should be added to the reducer. Generate a spec file alongside the reducer file. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false` diff --git a/projects/ngrx.io/content/guide/schematics/selector.md b/projects/ngrx.io/content/guide/schematics/selector.md index a3f6129db9..50b7e644a9 100644 --- a/projects/ngrx.io/content/guide/schematics/selector.md +++ b/projects/ngrx.io/content/guide/schematics/selector.md @@ -41,7 +41,7 @@ Group the selector file within an `selectors` folder. Generate a spec file alongside the selector file. -- `--skipTest` +- `--skipTests` - Type: `boolean` - Default: `false`