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

Function makeSubject

tests/unit/tasks/server/express-server-test.js:32–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 nock.enableNetConnect();
31
32 function makeSubject() {
33 subject = new ExpressServer({
34 ui: new MockUI(),
35 project: fixturifyProject.buildProjectModel(),
36 watcher: new MockWatcher(),
37 serverWatcher: new MockServerWatcher(),
38 serverRestartDelayTime: 100,
39 serverRoot: './server',
40 environment: 'development',
41 });
42 return subject;
43 }
44
45 beforeEach(function () {
46 this.timeout(1000);

Callers 1

Calls 1

buildProjectModelMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…