(paramsObj)
| 47 | } |
| 48 | |
| 49 | function assembleParams(paramsObj) { |
| 50 | const paramsArr = []; |
| 51 | Object.keys(paramsObj).forEach((key) => { |
| 52 | let val = paramsObj[key]; |
| 53 | paramsArr.push(key + '=' + encodeURIComponent(val)); |
| 54 | }); |
| 55 | return paramsArr.join('&'); |
| 56 | } |
| 57 | |
| 58 | function shouldShowMarkAsExpected(test, expectedSource, expectedVersion) { |
| 59 | if (expectedSource === 'release' && (expectedVersion !== test.expectedVersion) |