(answers, dir)
| 158 | } |
| 159 | |
| 160 | function api(answers, dir) { |
| 161 | return helpers.run(path.join(__dirname, '../generators/api')) |
| 162 | .inTmpDir(function (tmpDir) { |
| 163 | fs.copySync(dir, tmpDir); |
| 164 | }) |
| 165 | .withPrompts(answers) |
| 166 | .toPromise(); |
| 167 | } |
| 168 | |
| 169 | describe('generator-rest', function () { |
| 170 | describe('default install', function () { |
no outgoing calls
no test coverage detected