Skip to content

Conversation

@vietthang
Copy link

@vietthang vietthang commented Jan 16, 2026

Fix dependencies to test for bare

Tests pass with node test/index.js but fail with bare test/index.js:

# basic two namespaces with interleaved op additions
Uncaught (in promise) Error: Cannot register a handler for a nonexistent route: @test1/test-request-3
    at Router.add (file:///Users/thangnv/Develop/holepunchto/Hyperdispatch/test/test-storage/tmp-test-bf76fc1decddc8/hyperdispatch/index.js:26:15)
    at file:///Users/thangnv/Develop/holepunchto/Hyperdispatch/test/basic.js:227:5
    at async Test._run (file:///Users/thangnv/Develop/holepunchto/Hyperdispatch/node_modules/brittle/index.js:597:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants