(options)
| 101 | }, |
| 102 | |
| 103 | _generateCustomConfigs(options) { |
| 104 | let config = {}; |
| 105 | if (!options.filter && !options.module && !options.launch && !options.query && !options['test-page']) { |
| 106 | return config; |
| 107 | } |
| 108 | |
| 109 | let testPage = options['test-page']; |
| 110 | let queryString = this.buildTestPageQueryString(options); |
| 111 | if (testPage) { |
| 112 | let containsQueryString = testPage.indexOf('?') > -1; |
| 113 | let testPageJoinChar = containsQueryString ? '&' : '?'; |
| 114 | config.testPage = testPage + testPageJoinChar + queryString; |
| 115 | } |
| 116 | if (queryString) { |
| 117 | config.queryString = queryString; |
| 118 | } |
| 119 | |
| 120 | if (options.launch) { |
| 121 | config.launch = options.launch; |
| 122 | } |
| 123 | |
| 124 | return config; |
| 125 | }, |
| 126 | |
| 127 | async _generateTestPortNumber(options, ui) { |
| 128 | if (options.testPort === defaultPort && !options.port) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…