Skip to content

Commit

Permalink
refactor(schematics): migrate spec to skipTest
Browse files Browse the repository at this point in the history
Closes #2422
  • Loading branch information
Jefiozie committed Nov 13, 2019
1 parent 580319c commit cc9391b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions modules/schematics-core/testing/create-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ export const defaultAppOptions = {
skipTests: false,
};

const defaultModuleOptions = {
name: 'foo',
spec: true,
module: undefined,
flat: false,
};

const defaultLibOptions = {
name: 'baz',
};
Expand Down
2 changes: 2 additions & 0 deletions modules/schematics/src/container/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ export default function(options: ContainerOptions): Rule {
return chain([
externalSchematic('@schematics/angular', 'component', {
...opts,
//TODO: To be removed when upgraded to v9.
spec: false,
skipTest: false,
}),
addStateToComponent(options),
mergeWith(templateSource),
Expand Down

0 comments on commit cc9391b

Please sign in to comment.