UNPKG

@safejs/serializer

Version:

Serializer is a superset of JSON that includes recursive objects, dates, regular expressions, functions and others which you also can expand by yourself

8 lines (6 loc) 182 B
import { mapSerializer } from "./map"; describe("Map", () => { it("should serialize", () => { expect(mapSerializer.serialize(new Map())).toEqual([]); }); });