loopback-datasource-juggler/test
Miroslav Bajtoš af1d959613 Fix datasource to report connector-loading errors
Before this change, when resolving full connector path, all errors were
ignored. As a result, when the connector was installed but not
correctly built (e.g. loopback-connector-db2 which uses a native addon),
a very confusing message was reported by LoopBack.

In this commit, I am fixing the code handling `require()` errors
to ignore only MODULE_NOT_FOUND errors that contain the name
of the required module.
2017-02-06 10:58:44 +01:00
..
fixtures/loopback-connector-throwing Fix datasource to report connector-loading errors 2017-02-06 10:58:44 +01:00
helpers Fix manually 2016-10-19 17:35:26 -04:00
kvao Auto-update by eslint --fix 2016-10-19 17:04:05 -04:00
operation-hooks.suite Fix manually 2016-10-19 17:35:26 -04:00
CustomTypeForeignKey.test.js Fix manually 2016-10-19 17:35:26 -04:00
async-observer.test.js Fix manually 2016-10-19 17:35:26 -04:00
basic-querying.test.js Add two basic tests for "inq" operator 2017-01-20 13:04:28 +01:00
common.batch.js Fix manually 2016-10-19 17:35:26 -04:00
common_test.js Fix manually 2016-10-19 17:35:26 -04:00
crud-with-options.test.js Fix manually 2016-10-19 17:35:26 -04:00
datasource.test.js Fix datasource to report connector-loading errors 2017-02-06 10:58:44 +01:00
datatype.test.js Fix manually 2016-10-19 17:35:26 -04:00
default-scope.test.js Fix manually 2016-10-19 17:35:26 -04:00
defaults.test.js Fix manually 2016-10-19 17:35:26 -04:00
discovery.test.js Fix manually 2016-10-19 17:35:26 -04:00
events.js Fix manually 2016-10-19 17:35:26 -04:00
geo.test.js Fix manually 2016-10-19 17:35:26 -04:00
hooks.test.js Fix manually 2016-10-19 17:35:26 -04:00
include.test.js Fix manually 2016-10-19 17:35:26 -04:00
include_util.test.js Fix manually 2016-10-19 17:35:26 -04:00
init.js Fix manually 2016-10-19 17:35:26 -04:00
introspection.test.js Fix manually 2016-10-19 17:35:26 -04:00
json.test.js Fix manually 2016-10-19 17:35:26 -04:00
kv-memory.js Fix manually 2016-10-19 17:35:26 -04:00
kvao.suite.js test/kvao: add connectorCapabilities options 2016-10-19 12:33:21 +02:00
loopback-data.test.js Fix manually 2016-10-19 17:35:26 -04:00
loopback-dl.test.js Coerce array-like objects into arrays 2017-01-10 15:11:20 +01:00
manipulation.test.js Back-port fixes for linter errors from master 2016-12-06 10:47:27 +01:00
memory.test.js Fix manually 2016-10-19 17:35:26 -04:00
mixins.test.js Fix manually 2016-10-19 17:35:26 -04:00
model-definition.test.js Fix manually 2016-10-19 17:35:26 -04:00
optional-validation.test.js Fix manually 2016-10-19 17:35:26 -04:00
performance.coffee Reformat the code 2014-01-24 09:09:53 -08:00
persistence-hooks.suite.js Back-port fixes for linter errors from master 2016-12-06 10:47:27 +01:00
relations.test.js Throw error when model relation name is trigger 2017-01-03 10:41:07 +01:00
schema.test.js Fix manually 2016-10-19 17:35:26 -04:00
scope.test.js Fix manually 2016-10-19 17:35:26 -04:00
spec_helper.js Fix manually 2016-10-19 17:35:26 -04:00
test1-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
test2-schemas.json Reformat the code 2014-01-24 09:09:53 -08:00
transient.test.js Fix manually 2016-10-19 17:35:26 -04:00
util.test.js Fix manually 2016-10-19 17:35:26 -04:00
validations.test.js Fix manually 2016-10-19 17:35:26 -04:00