mirror of
https://github.com/fluencelabs/js-libp2p-interfaces
synced 2025-06-24 10:01:47 +00:00
chore: update deps, including aegir
This commit is contained in:
@ -112,7 +112,7 @@ module.exports = (common) => {
|
||||
stream,
|
||||
pull.collect((err, chunks) => {
|
||||
expect(err).to.not.exist.mark()
|
||||
expect(chunks).to.be.eql([Buffer('hey')]).mark()
|
||||
expect(chunks).to.be.eql([Buffer.from('hey')]).mark()
|
||||
})
|
||||
)
|
||||
|
||||
@ -132,7 +132,7 @@ module.exports = (common) => {
|
||||
stream,
|
||||
pull.collect((err, chunks) => {
|
||||
expect(err).to.not.exist.mark()
|
||||
expect(chunks).to.be.eql([Buffer('hello')]).mark()
|
||||
expect(chunks).to.be.eql([Buffer.from('hello')]).mark()
|
||||
})
|
||||
)
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ module.exports = (common) => {
|
||||
|
||||
conns.forEach((conn, i) => {
|
||||
pull(
|
||||
pull.values([Buffer('hello')]),
|
||||
pull.values([Buffer.from('hello')]),
|
||||
pull.asyncMap((val, cb) => {
|
||||
setTimeout(() => {
|
||||
cb(null, val)
|
||||
@ -139,7 +139,7 @@ module.exports = (common) => {
|
||||
conn,
|
||||
pull.collect((err, data) => {
|
||||
expect(err).to.not.exist.mark()
|
||||
expect(data).to.be.eql([Buffer('hello')]).mark()
|
||||
expect(data).to.be.eql([Buffer.from('hello')]).mark()
|
||||
})
|
||||
)
|
||||
})
|
||||
|
Reference in New Issue
Block a user