Skip to content

Commit a006a21

Browse files
committed
add @type in test file
1 parent 444d79e commit a006a21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/encryptedext_test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { ExtensionType } from "jsr:@tls/enum";
22
import { EncryptedExtensions } from "../src/encryptedext.js";
33
import { assertEquals } from "jsr:@std/assert";
4+
import { Extension } from "../src/dep.js";
45

56
Deno.test("EncryptedExtension", ()=>{
7+
//@type {Extension} extension - description
68
const extension = ExtensionType.KEY_SHARE.extension(Uint8Array.of(1,4,6))
79
const test = EncryptedExtensions.fromExtensions(extension);
810
const back = EncryptedExtensions.from(test)

0 commit comments

Comments
 (0)