Move everything to src folder... it had to happen
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const {test} = require("supertape")
|
||||
const {reg} = require("./read-registration")
|
||||
|
||||
test("reg: has necessary parameters", t => {
|
||||
const propertiesToCheck = ["sender_localpart", "id", "as_token", "ooye"]
|
||||
t.deepEqual(
|
||||
propertiesToCheck.filter(p => p in reg),
|
||||
propertiesToCheck
|
||||
)
|
||||
})
|
||||
Reference in New Issue
Block a user