Skip to content

Commit

Permalink
test: updated blueprint test for prepack/postpack
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescdavis committed Jul 2, 2020
1 parent b7b7085 commit 76c730f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ts/tests/blueprints/ember-cli-typescript-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ describe('Acceptance: ember-cli-typescript generator', function() {
expect(pkg).to.exist;

const pkgJson = JSON.parse(pkg.content);
expect(pkgJson.scripts.prepublishOnly).to.be.undefined;
expect(pkgJson.scripts.postpublish).to.be.undefined;
expect(pkgJson.scripts.prepack).to.be.undefined;
expect(pkgJson.scripts.postpack).to.be.undefined;
expect(pkgJson.devDependencies).to.include.all.keys('ember-cli-typescript-blueprints');
expect(pkgJson.devDependencies).to.include.all.keys('ember-data');
expect(pkgJson.devDependencies).to.include.all.keys('@types/ember-data');
Expand Down Expand Up @@ -97,8 +97,8 @@ describe('Acceptance: ember-cli-typescript generator', function() {
expect(pkg).to.exist;

const pkgJson = JSON.parse(pkg.content);
expect(pkgJson.scripts.prepublishOnly).to.equal('ember ts:precompile');
expect(pkgJson.scripts.postpublish).to.equal('ember ts:clean');
expect(pkgJson.scripts.prepack).to.equal('ember ts:precompile');
expect(pkgJson.scripts.postpack).to.equal('ember ts:clean');
expect(pkgJson.dependencies).to.include.all.keys('ember-cli-typescript');
expect(pkgJson.devDependencies).to.not.include.all.keys('ember-cli-typescript');
expect(pkgJson.devDependencies).to.not.have.any.keys('ember-data');
Expand Down

0 comments on commit 76c730f

Please sign in to comment.