MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / makeTempDir

Function makeTempDir

tests/acceptance/init-test.js:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 this.timeout(20000);
31
32 async function makeTempDir() {
33 let baseTmpDir = await fs.promises.mkdtemp(path.join(os.tmpdir(), 'init-test'));
34 let projectDir = path.join(baseTmpDir, 'hello-world');
35
36 await fs.promises.mkdir(projectDir);
37
38 return projectDir;
39 }
40
41 let tmpPath;
42 beforeEach(async function () {

Callers 1

init-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…