diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-01-29 13:08:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-29 08:08:22 -0500 |
| commit | f3122442db70d16f4861f39edf32d89ac2530aa2 (patch) | |
| tree | e60d30f4501e808075ddc3cf13b6764774dc9df5 /cli/tests/070_location.ts.out | |
| parent | 98878bd81231a631c494b6767576097f945eb813 (diff) | |
fix(op_crates/web): Add customInspect for Location (#9290)
Diffstat (limited to 'cli/tests/070_location.ts.out')
| -rw-r--r-- | cli/tests/070_location.ts.out | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/cli/tests/070_location.ts.out b/cli/tests/070_location.ts.out index 2ba0f259d..3c08d53fc 100644 --- a/cli/tests/070_location.ts.out +++ b/cli/tests/070_location.ts.out @@ -1,20 +1,15 @@ [WILDCARD][Function: Location] Location { [Symbol(Symbol.toStringTag)]: "Location" } Location { - hash: [Getter/Setter], - host: [Getter/Setter], - hostname: [Getter/Setter], - href: [Getter/Setter], - origin: [Getter], - pathname: [Getter/Setter], - port: [Getter/Setter], - protocol: [Getter/Setter], - search: [Getter/Setter], - ancestorOrigins: [Getter], - assign: [Function: assign], - reload: [Function: reload], - replace: [Function: replace], - toString: [Function: toString] + hash: "#bat", + host: "foo", + hostname: "foo", + href: "https://foo/bar?baz#bat", + origin: "https://foo", + pathname: "/bar", + port: "", + protocol: "https:", + search: "?baz" } NotSupportedError: Cannot set "location.hostname". [WILDCARD] |
