<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ird-p2p-db browser tests</title>
</head>
<body>
<!-- the vendor chunk first (browser/vendor-entry.mjs bundled by esbuild in
npm test): it installs Buffer, which the compiled code needs at load -->
<script src="/vendor.js"></script>
<script>
// the ESM dynamic-import helper ird.p2p.db imports helia and libp2p through:
// in a browser it resolves bare specifiers from the vendor chunk
globalThis.ird_dyn_import = function (name) { return Promise.resolve(irdVendor.load(name)); };
</script>
<script src="/js/test.js"></script>
</body>
</html>