spec: add helper to resolve property getters
This commit is contained in:
parent
558fff69e7
commit
91cc453ccc
2 changed files with 9 additions and 1 deletions
7
spec/assert-helpers.js
Normal file
7
spec/assert-helpers.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
function resolverGetters (...args) {
|
||||
return args.map(o => JSON.parse(JSON.stringify(o)))
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
resolverGetters,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue