test: split NWC protocol harness

This commit is contained in:
2026-08-22 16:55:23 +02:00
parent 845ec410e5
commit 3054834cdb
4 changed files with 411 additions and 816 deletions
+7
View File
@@ -1,6 +1,13 @@
import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vitest/config';
export default defineConfig({
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
test: {
// the tested modules are pure crypto/codec/protocol logic - node's own
// WebCrypto (crypto.subtle) and fetch cover everything they need, no