Commit cc912fb9 authored by Hidde-Jan Jongsma's avatar Hidde-Jan Jongsma

Update tests

parent b5d93218
......@@ -29,12 +29,14 @@ test("It constructs a verify request url", () => {
const client = newClient();
const url = client.verifyUrl("MyType", "12345");
expect(url).toBeDefined();
expect(url).toMatch(/verify\?token=/);
});
test("It constructs an issue request url", () => {
const client = newClient();
const url = client.issueUrl("MyType", { my: "data" }, "12345");
expect(url).toBeDefined();
expect(url).toMatch(/issue\?token=/);
});
test("It handles issue responses", () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment