mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #52 from overleaf/jpa-drop-unsafe-buffer-usage
[misc] get rid of unsafe Buffer usage
This commit is contained in:
commit
9693c349b4
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ describe('Sending a message', function () {
|
||||||
|
|
||||||
return describe('with very long content', function () {
|
return describe('with very long content', function () {
|
||||||
return it('should return a graceful error', function (done) {
|
return it('should return a graceful error', function (done) {
|
||||||
const content = new Buffer(10240).toString('hex')
|
const content = '-'.repeat(10 * 1024 + 1)
|
||||||
return ChatClient.sendMessage(
|
return ChatClient.sendMessage(
|
||||||
this.project_id,
|
this.project_id,
|
||||||
this.thread_id,
|
this.thread_id,
|
||||||
|
|
Loading…
Reference in a new issue