var client = request('dunajs-client')
var mock = request('dunajs-client-dev').mock
var c = client.create('some-service-endpoint')
mock(c).m({arg1: 1, arg2: 'a'}).reply(200, 'ok')
c.m({arg1: 1, arg2: 'a'}).then(data => { console.log(data) })
-
Notifications
You must be signed in to change notification settings - Fork 0
duna-project/dunajs-client-dev
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Duna framework javascript client development support
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published