edge-runtime icon indicating copy to clipboard operation
edge-runtime copied to clipboard

Format: add support for some missing constructors

Open Kikobeats opened this issue 3 years ago • 0 comments

These constructors are missing right now:

expect(format(new Map([['foo', 'bar']]))).toBe("Map(1) { 'foo' => 'bar' }")
expect(format(new Set([['foo', 'bar']]))).toBe("Set(1) { [ 'foo', 'bar' ] }")
expect(format(new Uint8Array([1, 2, 3]))).toBe("Uint8Array(3) [ 1, 2, 3 ]")

Kikobeats avatar Jul 26 '22 07:07 Kikobeats