Skip to main content
Module

x/djwt/tests/test_deps.ts

Create and verify JSON Web Tokens (JWT) with Deno or the browser.
Very Popular
Latest
import * as djwt from "https://deno.land/x/djwt@v3.0.2/tests/test_deps.ts";

Functions

f
assertEquals
deprecated

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

f
assertRejects
deprecated

Executes a function which returns a promise, expecting it to reject.

f
assertThrows
deprecated

Executes a function, expecting it to throw. If it does not, then it throws.

Decodes the given hex-encoded string. If the input is malformed, an error is thrown.