We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4d84d9 commit 6d29808Copy full SHA for 6d29808
test/unixfs-format.spec.js
@@ -46,7 +46,7 @@ describe('unixfs-format', () => {
46
})
47
48
it('file', () => {
49
- const data = new UnixFS('file', new Buffer('batata'))
+ const data = new UnixFS('file', Buffer.from('batata'))
50
const marshalled = data.marshal()
51
const unmarshalled = UnixFS.unmarshal(marshalled)
52
expect(data.type).to.equal(unmarshalled.type)
0 commit comments