Remove deprecated Buffer constructor usage

Fixes #1709
This commit is contained in:
Nick O'Leary
2018-10-24 13:45:34 +01:00
parent 7dcca2c907
commit e4d518749f
13 changed files with 26 additions and 26 deletions

View File

@@ -454,7 +454,7 @@ describe('websocket Node', function() {
});
getSocket("n1").on("open", function() {
helper.getNode("n3").send({
payload: new Buffer("hello")
payload: Buffer.from("hello")
});
});
});