We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 8fbf93c commit d75de70Copy full SHA for d75de70
__tests__/manual.js
@@ -23,7 +23,7 @@ function runTests(name, useProxies) {
23
24
it("should check arguments", () => {
25
expect(() => createDraft(3)).toThrowErrorMatchingSnapshot()
26
- const buf = new Buffer([])
+ const buf = Buffer.from([])
27
expect(() => createDraft(buf)).toThrowErrorMatchingSnapshot()
28
expect(() => finishDraft({})).toThrowErrorMatchingSnapshot()
29
})
0 commit comments