spec: add helper to resolve property getters

This commit is contained in:
Samuel Attard 2018-09-14 16:36:23 +10:00
parent 558fff69e7
commit 91cc453ccc
No known key found for this signature in database
GPG key ID: E89DDE5742D58C4E
2 changed files with 9 additions and 1 deletions

7
spec/assert-helpers.js Normal file
View file

@ -0,0 +1,7 @@
function resolverGetters (...args) {
return args.map(o => JSON.parse(JSON.stringify(o)))
}
module.exports = {
resolverGetters,
}