Commit Graph

8 Commits

Author SHA1 Message Date
Fabian Arndt
8c9a31a16b Improved test coverage
- Added tests for handshakes in namespaces (one roundtrip)
- Replaced misleading 'handshake' with 'authentication', where the second roundtrip is used
2019-10-15 12:54:02 +02:00
Fabian Arndt
e66148fbb2 Workaround for node 4 2019-10-14 04:13:25 +02:00
Fabian Arndt
8f2b55a7aa Fixed travis
- Tests against Node 4, 8, 10, 12 and newest

Modernized:
- Use arrow functions
- Use string templates in examples and some code
- Use single quote for strings
2019-10-14 01:46:30 +02:00
Fabian Arndt
27c59c3b0f Fixed auth.required
Misc:
- Resolved conflicts
- Added test case, to fail if server grants prohibited admin access
- Simplified test logic
- Prevented usage of "var" (used const / let instead)
- Formatting
- Cleanup
- Typos
2019-10-13 15:52:14 +02:00
Root-Core
250312152a Fixed mocha tests by not using expiresInMinutes
Using `expiresInMinutes` leads to errors, as it was deprecated in
`jsonwebtoken` > 5.7.0.
We should use `expiresIn` instead.
2017-04-19 00:33:26 +02:00
José F. Romaniello
b7c88dde73 fix tests on v0.10.40 2015-08-31 11:20:35 -03:00
José F. Romaniello
8d6dd198f0 fix fixtures 2015-08-31 11:08:31 -03:00
José F. Romaniello
09eea1d043 add tests for namespace configuration 2015-08-31 11:04:13 -03:00