mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-09 20:03:04 +02:00
move namespace_prefix into a sub-object
This commit is contained in:
parent
f4bfe54850
commit
3a59d66626
3 changed files with 5 additions and 3 deletions
|
@ -2,7 +2,7 @@ const {test} = require("supertape")
|
|||
const reg = require("./read-registration")
|
||||
|
||||
test("reg: has necessary parameters", t => {
|
||||
const propertiesToCheck = ["sender_localpart", "id", "as_token", "namespace_prefix"]
|
||||
const propertiesToCheck = ["sender_localpart", "id", "as_token", "ooye"]
|
||||
t.deepEqual(
|
||||
propertiesToCheck.filter(p => p in reg),
|
||||
propertiesToCheck
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue