Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/GitbookIO/gitbook
/ code-samples.test.ts
File
code-samples.test.ts
packages/react-openapi/src/code-samples.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'bun:test'
;
2
import
{
type
CodeSampleInput, codeSampleGenerators, parseHostAndPath } from
'./code-samples'
;
3
4
it(
'should parse host and path on url strings properly'
, () => {
Callers
nothing calls this directly
Calls
1
generate
Method · 0.65
Tested by
no test coverage detected