Skip to content

Commit

Permalink
Test for correct www
Browse files Browse the repository at this point in the history
  • Loading branch information
raphinesse committed May 30, 2018
1 parent 89211c2 commit 0cd13c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/create.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,11 @@ describe('create end-to-end', function () {
}
};
return create(project, appId, appName, config, events)
.then(checkProjectArtifactsWithConfigFromTemplate);
.then(checkProjectArtifactsWithConfigFromTemplate)
.then(_ => {
// Assert that we have the fixture www, not one from stock the app
expect(path.join(project, 'www', 'fixture-marker')).toExist();
});
});

it('should successfully run with existing, empty destination', function () {
Expand Down
Empty file.

0 comments on commit 0cd13c1

Please sign in to comment.