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

Method transformOptions

lib/tasks/test.js:53–73  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

51 }
52
53 transformOptions(options) {
54 let transformed = {
55 host: options.host,
56 port: options.port,
57 debug: options.testemDebug,
58 reporter: options.reporter,
59 middleware: this.addonMiddlewares(options),
60 launch: options.launch,
61 file: options.configFile,
62 /* eslint-disable camelcase */
63 test_page: options.testPage,
64 query_params: options.queryString,
65 /* eslint-enable camelcase */
66 };
67
68 if (options.ssl) {
69 transformed.key = options.sslKey;
70 transformed.cert = options.sslCert;
71 }
72 return transformed;
73 }
74
75 run(options) {
76 return this.invokeTestem(options);

Callers 4

defaultOptionsMethod · 0.95
invokeTestemMethod · 0.80
invokeTestemMethod · 0.80
invokeTestemFunction · 0.80

Calls 1

addonMiddlewaresMethod · 0.95

Tested by

no test coverage detected