Skip to content

Commit

Permalink
chore: remove shared dir from new app blueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Brocco committed Oct 13, 2016
1 parent 2225027 commit d6d45db
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
Empty file.
12 changes: 0 additions & 12 deletions tests/acceptance/generate-class.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,4 @@ describe('Acceptance: ng generate class', function () {
expect(existsSync(path.join(testPath, 'my-class.model.ts'))).to.equal(true);
});
});

it(`ng generate class shared${path.sep}my-class`, function () {
return ng(['generate', 'class', 'shared/my-class']).then(() => {
expect(existsSync(path.join(testPath, 'shared', 'my-class.ts'))).to.equal(true);
});
});

it(`ng generate class shared${path.sep}my-class model`, function () {
return ng(['generate', 'class', 'shared/my-class', 'model']).then(() => {
expect(existsSync(path.join(testPath, 'shared', 'my-class.model.ts'))).to.equal(true);
});
});
});
14 changes: 0 additions & 14 deletions tests/acceptance/generate-module.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,4 @@ describe('Acceptance: ng generate module', function () {
expect(existsSync(path.join(testPath, 'my-module', 'my-module.module.spec.ts'))).to.equal(true);
});
});

it(`ng generate module shared${path.sep}my-module`, function () {
return ng(['generate', 'module', 'shared/my-module']).then(() => {
expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.ts'))).to.equal(true);
expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.spec.ts'))).to.equal(false);
});
});

it(`ng generate module shared${path.sep}my-module --spec`, function () {
return ng(['generate', 'module', 'shared/my-module', '--spec']).then(() => {
expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.ts'))).to.equal(true);
expect(existsSync(path.join(testPath, 'shared', 'my-module', 'my-module.module.spec.ts'))).to.equal(true);
});
});
});

0 comments on commit d6d45db

Please sign in to comment.