Github user stevengill commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/456#discussion_r67071311 --- Diff: cordova-lib/spec-cordova/create.spec.js --- @@ -121,6 +122,36 @@ describe('create end-to-end', function() { // expect(configXml.name()).toEqual('TestBase'); } + function checkSubDir() { + // Check if top level dirs exist. + var dirs = ['hooks', 'platforms', 'plugins', 'www']; + dirs.forEach(function(d) { + expect(path.join(project, d)).toExist(); + }); + expect(path.join(project, 'hooks', 'README.md')).toExist(); + + //index.js and template folder should not exist (inner files should be copied to the project folder) + expect(path.join(project, 'index.js')).not.toExist(); + expect(path.join(project, 'template')).not.toExist(); --- End diff -- Is this assuming the template folder is named `template`?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org