UNPKG
occaecatidicta
Version:
latest (1.0.0)
1.0.0
github.com/MyleneMcClure/occaecatidicta.git
MyleneMcClure/occaecatidicta
occaecatidicta
/
packages
/
omelox-loader
/
test
/
mock-remote
/
area
/
addOneRemote.js
14 lines
(13 loc)
•
208 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * Mock remote service */
module
.
exports
=
function
(
app
) {
return
{
doService
:
function
(
value, cb
) {
cb
(
null
, value +
1
); },
doAddTwo
:
function
(
value, cb
) {
cb
(
null
, value +
2
); } }; };