(collection, modeId, key, valueKey, tokens)
| 13 | } |
| 14 | |
| 15 | function createVariable(collection, modeId, key, valueKey, tokens) { |
| 16 | const token = tokens[valueKey]; |
| 17 | return createToken(collection, modeId, token.resolvedType, key, { |
| 18 | type: "VARIABLE_ALIAS", |
| 19 | id: `${token.id}`, |
| 20 | }); |
| 21 | } |
| 22 | |
| 23 | function importJSONFile({ fileName, body }) { |
| 24 | const json = JSON.parse(body); |
no test coverage detected