Work around the JDB test coverage tool limitation. See https://github.com/1602/semicov
This commit is contained in:
parent
b3e98f0c6f
commit
72e8e7230f
|
@ -73,8 +73,8 @@ function DataSource(name, settings) {
|
|||
|
||||
if(typeof fn === 'function') {
|
||||
this.defineOperation(name, {
|
||||
accepts: fn.accepts,
|
||||
returns: fn.returns,
|
||||
accepts: fn.accepts,
|
||||
'returns': fn.returns,
|
||||
http: fn.http,
|
||||
remoteEnabled: fn.shared ? true : false,
|
||||
scope: this.DataAccessObject,
|
||||
|
@ -90,8 +90,8 @@ function DataSource(name, settings) {
|
|||
if(typeof fn === 'function') {
|
||||
this.defineOperation(name, {
|
||||
prototype: true,
|
||||
accepts: fn.accepts,
|
||||
returns: fn.returns,
|
||||
accepts: fn.accepts,
|
||||
'returns': fn.returns,
|
||||
http: fn.http,
|
||||
remoteEnabled: fn.shared ? true : false,
|
||||
scope: this.DataAccessObject.prototype,
|
||||
|
|
Loading…
Reference in New Issue