(run)
| 49 | `; |
| 50 | |
| 51 | export async function test (run) { |
| 52 | const { stdout, stderr } = await run(); |
| 53 | strictEqual(stdout, `{ a: { value: "a" }, b: { c: "d" }, e: ["f"], g: [{ g: "i" }], l: [ l () { |
| 54 | |
| 55 | }], m: [Getter], n: [Getter], o: [ function () { |
| 56 | |
| 57 | }], p: [ () => {}], q: 5, s: 29879287298374924, t: Set(3) { 1, 2, 3 }, u: Map(3) { 1 => 2, 3 => 4, [ function foo () {}] => {} }, v: Symbol.for("blah"), w: Symbol(), x: undefined, y: null, z: URL { hash: "", host: "site.com", hostname: "site.com", href: "https://site.com/x?a&b", origin: "https://site.com", password: "", pathname: "/x", port: "", protocol: "https:", search: "?a&b", searchParams: URLSearchParams { size: 2 }, username: "" }, zz: Uint8Array [1, 2, 3], zzz: Z {} }\n`); |
| 58 | strictEqual(stderr, ''); |
| 59 | } |