1
0
Fork 0
out-of-your-element-fork-th.../matrix/read-registration.test.js

11 lines
282 B
JavaScript
Raw Permalink Normal View History

2023-05-09 03:29:46 +00:00
const {test} = require("supertape")
const reg = require("./read-registration")
test("reg: has necessary parameters", t => {
2023-08-21 09:04:41 +00:00
const propertiesToCheck = ["sender_localpart", "id", "as_token", "ooye"]
t.deepEqual(
propertiesToCheck.filter(p => p in reg),
propertiesToCheck
)
})