MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / assertDestroyAfterGenerate

Function assertDestroyAfterGenerate

tests/acceptance/destroy-test.js:64–73  ·  view source on GitHub ↗
(args, files)

Source from the content-addressed store, hash-verified

62 }
63
64 const assertDestroyAfterGenerate = async function (args, files) {
65 await initApp();
66
67 await generate(args);
68 assertFilesExist(files);
69
70 let result = await destroy(args);
71 expect(result, 'destroy command did not exit with errorCode').to.be.an('object');
72 assertFilesNotExist(files);
73 };
74
75 it('blueprint foo', function () {
76 let commandArgs = ['blueprint', 'foo'];

Callers 1

destroy-test.jsFile · 0.70

Calls 5

initAppFunction · 0.70
generateFunction · 0.70
assertFilesExistFunction · 0.70
destroyFunction · 0.70
assertFilesNotExistFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…