#3281 Add tests for new bridge API

This commit is contained in:
Koen Kanters committed 2020-05-24 18:16:39 +02:00
1 parent 1638b81723
commit 409fb2407a
6 files changed
+283 -75

No files matched your search

-1
View File
@@ -124,7 +124,6 @@ function getObjectsProperty(objects, key, defaultValue) {
return defaultValue;
}
/* istanbul ignore next newApi */
function getResponse(request, data, error) {
const response = {data, status: error ? 'error' : 'ok'};
if (error) response.error = error;