diff --git a/src/render.ts b/src/render.ts index 105b7cf..b66443e 100644 --- a/src/render.ts +++ b/src/render.ts @@ -88,8 +88,6 @@ export const render = async (message: Buffer, contentType: string = 'text/html') } const id = urn('cose', 'cose-sign1', message); - console.log(graph) - return `
diff --git a/tests/virtual-docs.test.ts b/tests/virtual-docs.test.ts deleted file mode 100644 index c6bc518..0000000 --- a/tests/virtual-docs.test.ts +++ /dev/null @@ -1,12 +0,0 @@ -import fs from 'fs' - -import * as edn from '../src' - -const testCase = JSON.parse(fs.readFileSync('./src/__fixtures__/ecdsa-examples/ecdsa-sig-02.json').toString()) - -it(testCase.title, async () => { - const graph1 = await edn.parse(testCase.output.cbor_diag) as edn.EDNCoseSign1 - const alg = graph1.signatureAlgorithm() - expect(alg.value).toBe(-35) - expect(alg.comment).toBe('ECDSA with SHA-384') -})