I have an JSON object which has a map as follows:
{"name": "Bertha", [["id", "123"], ["status", "active"]]}
Please note that I am representing the map like it would be represented in typescript but I don't know how it would be represented in the underlying Jest framework. It is failing when I use the isEqual([["id", "123"....]) syntax. It is reporting that it received:
Map {"id" => "123", "status" => "active"} which I find quite confusing.
How do I test the key, value pairs using Jest?