Test migration to jest by hand
Apparently using regular expressions is way easier.
This commit is contained in:
2
test/truthCheckCollection/truthCheckCollection.js
Normal file
2
test/truthCheckCollection/truthCheckCollection.js
Normal file
@ -0,0 +1,2 @@
|
||||
const truthCheckCollection = (collection, pre) => collection.every(obj => obj[pre]);
|
||||
module.exports = truthCheckCollection;
|
||||
Reference in New Issue
Block a user