(args, files)
| 62 | } |
| 63 | |
| 64 | const assertDestroyAfterGenerate = async function (args, files) { |
| 65 | await initApp(); |
| 66 | |
| 67 | replaceFile('config/environment.js', '(var|let|const) ENV = {', "$1 ENV = {\npodModulePrefix: 'app/pods', \n"); |
| 68 | |
| 69 | await generate(args); |
| 70 | assertFilesExist(files); |
| 71 | |
| 72 | let result = await destroy(args); |
| 73 | expect(result, 'destroy command did not exit with errorCode').to.be.an('object'); |
| 74 | assertFilesNotExist(files); |
| 75 | }; |
| 76 | |
| 77 | const destroyAfterGenerate = async function (args) { |
| 78 | await initApp(); |
no test coverage detected
searching dependent graphs…