(m)
| 497 | |
| 498 | it(util.format('should encode/decode ES6 Map as maps for protocol v%d', version), function () { |
| 499 | function getValues(m) { |
| 500 | const arr = []; |
| 501 | m.forEach(function (val, key) { |
| 502 | arr.push([key, val]); |
| 503 | }); |
| 504 | return arr.toString(); |
| 505 | } |
| 506 | // eslint-disable-next-line no-undef |
| 507 | const Es6Map = Map; |
| 508 | const encoder = new Encoder(version, { encoding: { map: Es6Map}}); |
no test coverage detected