(_target, prop: string | symbol)
| 243 | const fn = async () => ({}); |
| 244 | return new Proxy(fn, { |
| 245 | get(_target, prop: string | symbol) { |
| 246 | if (typeof prop === "symbol") { |
| 247 | if (prop === Symbol.toStringTag) return "PluginNoopClient"; |
| 248 | return undefined; |
| 249 | } |
| 250 | if (prop === "then") return undefined; |
| 251 | if (prop === "toString") { |
| 252 | return () => `[PluginNoopClient ${path.join(".")}]`; |
| 253 | } |
| 254 | return createNoopClientProxy([...path, prop]); |
| 255 | }, |
| 256 | apply() { |
| 257 | return Promise.resolve({}); |
| 258 | }, |
nothing calls this directly
no test coverage detected