send sim messages to the proper rooms
This commit is contained in:
11
matrix/read-registration.test.js
Normal file
11
matrix/read-registration.test.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const {test} = require("supertape")
|
||||
const assert = require("assert")
|
||||
const reg = require("./read-registration")
|
||||
|
||||
test("reg: has necessary parameters", t => {
|
||||
const propertiesToCheck = ["sender_localpart", "id", "as_token", "namespace_prefix"]
|
||||
t.deepEqual(
|
||||
propertiesToCheck.filter(p => p in reg),
|
||||
propertiesToCheck
|
||||
)
|
||||
})
|
Reference in New Issue
Block a user