(options)
| 403 | Tracer.Tracer, |
| 404 | Tracer.make({ |
| 405 | span(options) { |
| 406 | assert.strictEqual(options.name, "http.client GET") |
| 407 | assert.strictEqual(options.kind, "client") |
| 408 | assert(options.parent._tag === "Some") |
| 409 | if (options.parent.value._tag !== "Span") { |
| 410 | throw new Error("Expected span parent") |
| 411 | } |
| 412 | assert.strictEqual(options.parent.value.name, "request parent") |
| 413 | return requestSpan |
| 414 | } |
| 415 | }) |
| 416 | ), |
| 417 | Effect.withSpan("request parent"), |