mirror of
https://github.com/thangisme/notes.git
synced 2026-07-30 23:50:37 -04:00
Initial commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
module.exports = hasKeys
|
||||
function hasKeys (t, object, keys) {
|
||||
var objectKeys = Object.keys(object).sort()
|
||||
var expectedKeys = [].concat(keys).sort()
|
||||
return t.deepEqual(objectKeys, expectedKeys)
|
||||
}
|
||||
Reference in New Issue
Block a user