@zargu/couchdb-designer
Version:
Create and testing couchdb design document form directory structure.
17 lines (13 loc) • 422 B
JavaScript
import designer from '../src/designer';
describe('designer_edge',() => {
test('success edge test',() => {
return designer('./tests/design').then(result => {
expect(result).toMatchSnapshot();
});
});
test('stringifyed',() => {
return designer('./tests/design').then(result => {
expect(JSON.stringify(result,null,3)).toMatchSnapshot();
})
})
});