mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-03 20:51:20 +00:00
Merge pull request #17 from libp2p/filenames
test: key name comparision
This commit is contained in:
commit
605d290525
@ -126,7 +126,7 @@ module.exports = (datastore1, datastore2) => {
|
|||||||
ks.listKeys((err, keys) => {
|
ks.listKeys((err, keys) => {
|
||||||
expect(err).to.not.exist()
|
expect(err).to.not.exist()
|
||||||
expect(keys).to.exist()
|
expect(keys).to.exist()
|
||||||
const mykey = keys.find((k) => k.name === rsaKeyName)
|
const mykey = keys.find((k) => k.name.normalize() === rsaKeyName.normalize())
|
||||||
expect(mykey).to.exist()
|
expect(mykey).to.exist()
|
||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user