1
0
Fork 0

move namespace_prefix into a sub-object

This commit is contained in:
Cadence Ember 2023-07-13 17:11:24 +12:00
parent f4bfe54850
commit 3a59d66626
3 changed files with 5 additions and 3 deletions

View file

@ -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