Alex Sosnovskiy
f3bb222609
Merge pull request #157 from ajmar/master
...
(feat): Allow passing in custom client ID generation function.
2020-03-19 23:11:46 +03:00
afrokick
f2bb45b926
fix test
2020-03-19 22:15:17 +03:00
afrokick
a956168f55
fix issue with expire messages
...
bump version to 0.3.1
2020-03-11 11:02:32 +03:00
Eden Tyler-Moss
1eea9d022c
Better describe generateClientId test.
2020-01-31 11:51:38 +00:00
Eden Tyler-Moss
ef651a9c7e
Resolved merge conflicts, updated README.
2020-01-31 11:39:19 +00:00
Eden Tyler-Moss
167131b270
Fixed syntax error in test.
2020-01-31 10:53:42 +00:00
Eden Tyler-Moss
2eb7f9cfb1
Generate ID function passed in options object. Updated tests.
2020-01-31 10:11:49 +00:00
afrokick
3398d65d2d
refactoring index.js
2019-12-16 11:16:43 +03:00
afrokick
c4f04b2ff8
add tests for WebSocketServer
2019-12-16 01:15:05 +03:00
afrokick
fe6f513b01
add test for messageQueue
...
replace setTimeout to Promised wait
2019-12-15 18:49:01 +03:00
afrokick
d46628067b
Merge branch 'master' into refactoring/ts
...
# Conflicts:
# src/models/realm.js
# test/services/checkBrokenConnections/index.ts
2019-12-15 13:09:49 +03:00
Ivelin Ivanov
61cb1517fd
fix: replace Math.random with uuid4 for a crypto secure client ID generation
2019-12-13 18:23:02 -06:00
afrokick
42a626629b
add eslint for ts
2019-08-23 16:47:34 +03:00
afrokick
1daa092eea
fix tests
2019-08-23 16:04:19 +03:00
afrokick
dd0b60416e
ref
2019-08-22 20:59:55 +03:00
afrokick
799299d669
add checkConnections service
2019-08-21 17:39:00 +03:00
afrokick
5f3774fe44
fix tests
2019-04-01 17:09:22 +03:00
afrokick
1e09fcfb64
ref
2019-04-01 14:34:59 +03:00
Michelle Bu
e89da8000e
Fix test spacing
2014-11-01 13:54:21 -07:00
lmb
d1a24d5711
Fix tests
2014-10-20 09:52:45 +01:00
Vsevolod Strukchinsky
eb4f31dabd
Tests with _server startup and teardown callbacks
2014-10-18 12:34:15 +01:00
Vsevolod Strukchinsky
9e0d861715
Migrate to express from restify
...
PeerServer is now instance of express application - this allows to combine it with other express applications.
Listen is deferred - because it now method from express (you can call it later and supply callback for start event).
Constructor now not using `new` (because we mixing in methods to express app)
Closes #36
2014-10-18 12:34:14 +01:00
Michelle Bu
9b3f7a3f38
Make IDs *always* 16 characters
2014-05-01 21:05:11 -07:00
Michelle Bu
5d358ce71f
better test
2013-10-24 00:36:28 -07:00
Michelle Bu
84acb8a217
handleTransmission tests
2013-10-19 00:14:51 -07:00
Michelle Bu
6a1b20f80e
More test
2013-07-07 00:21:57 -07:00
Michelle Bu
c9e6476094
Test suite skeleton. Closes #6
2013-07-06 22:43:49 -07:00