mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
10 lines
266 B
JavaScript
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);
|
|
});
|
|
});
|