(target)
| 8 | * @returns {EXPECTED_ANY} resolved platform target properties |
| 9 | */ |
| 10 | const getPlatform = (target) => { |
| 11 | const normalized = getNormalizedWebpackOptions( |
| 12 | /** @type {EXPECTED_ANY} */ ({ target }) |
| 13 | ); |
| 14 | return applyWebpackOptionsDefaults(/** @type {EXPECTED_ANY} */ (normalized)) |
| 15 | .platform; |
| 16 | }; |
| 17 | |
| 18 | describe("platform", () => { |
| 19 | describe("universal", () => { |
no test coverage detected