0.0.9 • Published 4 years ago

@vital-ai/haley-mock v0.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

haley-js-mock-npm

develop

domain requirement:

domain files should put in the directory: vitalservice/domains. vitalservice is the directory that at the same level of node_modules.

mock handler requirement.

handlers should live in file haley-service-mock/index.js as an array. The array should be export. examples of code of index.js

const MockApiForHomePageEntriesHandler = require('../handlers/homePageEntries_Handler').mockAPI;
const MockApiSearchHandler = require('../handlers/search_Handler').mockAPI;

const handlers = [
    {id: 'mock home page entries', handler: MockApiForHomePageEntriesHandler},
    {id: 'mock search page', handler: MockApiSearchHandler},
]

module.exports = handlers;
0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.6

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago