Skip to content

Commit fdaaa13

Browse files
committed
Add tests for @types/ember-data
1 parent 9f47bfc commit fdaaa13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

node-tests/blueprints/ember-cli-typescript-test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const expect = chaiHelpers.expect;
1111
const file = chaiHelpers.file;
1212

1313
describe('Acceptance: ember-cli-typescript generator', function() {
14-
helpers.setupTestHooks(this);
14+
helpers.setupTestHooks(this, { disabledTasks: ['addon-install', 'bower-install'] });
1515

1616
it('basic app', function() {
1717
const args = ['ember-cli-typescript'];
@@ -26,6 +26,7 @@ describe('Acceptance: ember-cli-typescript generator', function() {
2626
const pkgJson = JSON.parse(pkg.content);
2727
expect(pkgJson.scripts.prepublishOnly).to.be.undefined;
2828
expect(pkgJson.scripts.postpublish).to.be.undefined;
29+
expect(pkgJson.devDependencies).to.include.all.keys('@types/ember-data');
2930

3031
const tsconfig = file('tsconfig.json');
3132
expect(tsconfig).to.exist;
@@ -67,6 +68,7 @@ describe('Acceptance: ember-cli-typescript generator', function() {
6768
const pkgJson = JSON.parse(pkg.content);
6869
expect(pkgJson.scripts.prepublishOnly).to.equal('ember ts:precompile');
6970
expect(pkgJson.scripts.postpublish).to.equal('ember ts:clean');
71+
expect(pkgJson.devDependencies).to.not.have.any.keys('@types/ember-data');
7072

7173
const tsconfig = file('tsconfig.json');
7274
expect(tsconfig).to.exist;

0 commit comments

Comments
 (0)