Justin Ross
60750b4508
Update Copyright Years
...
Update copyright years to include 2018
2018-01-16 13:55:02 +01:00
Miroslav Bajtoš
1ec7cf0a37
Turn on "no-unused-expressions" rule for eslint
...
Fix unit-tests relying on property-based assertions to use function
calls instead, using "dirty-chai" to modify chai's property checkers.
2016-11-22 15:30:04 +01:00
Loay
06cb481c3f
Update eslint to loopback config v5
...
Notable side-effects:
- loopback no longer exports "caller" and "arguments" properties
- kv-memory connector is now properly added to the connector registry
- the file "test/support.js" was finally removed
2016-11-22 14:08:02 +01:00
Miroslav Bajtoš
42c83f69a0
Cleanup unit-test added in 1fc51d129
2016-06-14 14:47:41 +02:00
Loay
1fc51d1296
update errorHandler template
2016-06-13 11:18:09 -04:00
Supasate Choochaisri
04e26fae5c
Separate error-checking and next/done logic from other logic in the test suite
...
Signed-off-by: Supasate Choochaisri <supasate.c@gmail.com>
2016-05-05 11:12:48 +07:00
Ryan Graham
6964914bab
update copyright statements
2016-05-03 15:50:21 -07:00
Miroslav Bajtoš
f9702b0ace
Use eslint with loopback config
...
Drop jshint and jscs in favour of eslint.
Fix style violations.
While we are at this, reduce the max line length from 150 to 100.
2016-04-06 10:45:30 +02:00
Miroslav Bajtoš
e7f49af7f4
Fix race condition in error handler test
2016-02-05 09:21:47 +01:00
Richard Walker
65ca318392
Create stack-removing errorhandler middleware
...
Create a wrapper around express' errorhandler that removes the stack
trace from error responses when "options.includeStack" is false.
2015-09-03 08:38:24 +02:00