Files
bun.sh/test/js/third_party/jsonwebtoken/decoding.test.js
2024-09-03 21:32:52 -07:00

10 lines
266 B
JavaScript

import { describe, expect, it } from "bun:test";
import jwt from "jsonwebtoken";
describe("decoding", function () {
it("should not crash when decoding a null token", function () {
var decoded = jwt.decode("null");
expect(decoded).toEqual(null);
});
});