Skip to content
File

Blob: src/cloudflare/internal/test/tracing/tracing-hierarchy-mock.js

javascript12 lines
1// Copyright (c) 2026 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4 
5// Minimal fetch target used by tracing-hierarchy-test. Just echoes the request path so
6// the runtime-generated "fetch" span has something to observe.
7export default {
8 async fetch(request) {
9 return new Response('ok', { status: 200 });
10 },
11};