From 5999c7f3413514aef50e854c20f850fa1a635a7f Mon Sep 17 00:00:00 2001 From: GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com> Date: Thu, 28 May 2026 05:14:21 +0000 Subject: [PATCH] Add JWT Sign browser test --- tests/browser/02_ops.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/browser/02_ops.js b/tests/browser/02_ops.js index 9d29f50d..fc06cc96 100644 --- a/tests/browser/02_ops.js +++ b/tests/browser/02_ops.js @@ -219,7 +219,7 @@ module.exports = { // testOp(browser, "JSON Minify", "test input", "test_output"); // testOp(browser, "JSON to CSV", "test input", "test_output"); // testOp(browser, "JWT Decode", "test input", "test_output"); - // testOp(browser, "JWT Sign", "test input", "test_output"); + testOp(browser, "JWT Sign", '{"a":{"b":1}}', "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhIjp7ImIiOjF9fQ.5PSBsZ9_B-qZa8H3l9tRAEV6qt8NgEHNJaoyjVcnTsU", ["A-key-of-256-bits-or-larger-as-per-RFC7518", "HS256", "{}"]); // testOp(browser, "JWT Verify", "test input", "test_output"); // testOp(browser, "JavaScript Beautify", "test input", "test_output"); // testOp(browser, "JavaScript Minify", "test input", "test_output");