refactor: fix lint on test/realtime/extractNoteIdFromSocket.test.js

Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
BoHong Li 2019-08-04 23:21:33 +08:00
parent eaef11507c
commit 8fc2059a09
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ describe('realtime#extractNoteIdFromSocket', function () {
})
it('return false if query not set and referer not set', function () {
let noteId = realtime.extractNoteIdFromSocket(makeMockSocket({
const noteId = realtime.extractNoteIdFromSocket(makeMockSocket({
otherHeader: 1
}, {
otherQuery: 1