connector-wordpress/source/front/object-hash-wrapper-test.js

7 lines
174 B
JavaScript
Raw Normal View History

import test from 'ava'
import hash from './object-hash-wrapper.js'
2021-12-09 19:46:19 +01:00
test('#hash object', (t) => {
t.is(hash({ foo: 'bar' }), 'a75c05bdca7d704bdfcd761913e5a4e4636e956b')
})