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

Function init

lib/commands/test.js:84–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 ],
83
84 init() {
85 this._super.apply(this, arguments);
86
87 if (!this.isViteProject) {
88 this.availableOptions = this.availableOptions.concat(ClassicOptions);
89 }
90
91 this.Builder = this.Builder || Builder;
92 this.Watcher = this.Watcher || Watcher;
93
94 if (!this.testing) {
95 process.env.EMBER_CLI_TEST_COMMAND = true;
96 }
97 },
98
99 tmp() {
100 return fs.mkdtempSync(path.join(os.tmpdir(), 'tests-dist-'));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…