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

Method require

tests/helpers/mock-project.js:26–36  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

24 }
25
26 require(file) {
27 if (file === './server') {
28 return function () {
29 return {
30 listen() {
31 arguments[arguments.length - 1]();
32 },
33 };
34 };
35 }
36 }
37
38 config() {
39 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected