1
0
mirror of https://github.com/dwaxweiler/connector-mobilizon synced 2025-06-05 21:59:25 +02:00

add tests for session-cache, fix a test

This commit is contained in:
Daniel Waxweiler
2021-04-05 18:23:37 +02:00
parent 12e6adacbf
commit c9b04cb2f8
5 changed files with 45 additions and 11 deletions

View File

@ -1,5 +1,5 @@
import test from 'ava'
import { hash } from './object-hash-wrapper'
import hash from './object-hash-wrapper'
test('#hash object', t => {
t.is(hash({foo: 'bar'}), 'a75c05bdca7d704bdfcd761913e5a4e4636e956b')