#3281 Add tests for new bridge API

This commit is contained in:
Koen Kanters
2020-05-24 18:16:39 +02:00
parent 1638b81723
commit 409fb2407a
6 changed files with 283 additions and 75 deletions
-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;