Test and fix for hashNode

This commit is contained in:
Angelos Chalaris
2018-02-04 20:46:30 +02:00
parent a59628a045
commit 963e3f27e3
3 changed files with 8 additions and 6 deletions

View File

@ -22,5 +22,5 @@ const hashNode = val =>
```
```js
hashBrowser(JSON.stringify({ a: 'a', b: [1, 2, 3, 4], foo: { c: 'bar' } })).then(console.log); // '04aa106279f5977f59f9067fa9712afc4aedc6f5862a8defc34552d8c7206393'
hashNode(JSON.stringify({ a: 'a', b: [1, 2, 3, 4], foo: { c: 'bar' } })).then(console.log); // '04aa106279f5977f59f9067fa9712afc4aedc6f5862a8defc34552d8c7206393'
```