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

Function startDev

tests/unit/tasks/test-server-test.js:27–38  ·  view source on GitHub ↗
(options, finalizer)

Source from the content-addressed store, hash-verified

25 this.defaultOptions = options;
26 },
27 startDev(options, finalizer) {
28 expect(options.host).to.equal('greatwebsite.com');
29 expect(options.port).to.equal(123324);
30 expect(options.reporter).to.equal('xunit');
31 expect(options.middleware).to.deep.equal(['middleware1', 'middleware2']);
32 expect(options.test_page).to.equal('http://my/test/page');
33 expect(options.cwd).to.be.undefined;
34 expect(options.config_dir).to.be.undefined;
35 expect(this.defaultOptions.cwd).to.equal('blerpy-derpy');
36 expect(this.defaultOptions.config_dir).to.be.an('string');
37 finalizer(0);
38 },
39 },
40 });
41

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…