Files
bigcapital/server/tests/routes/users.test.js
Ahmed Bouhuolia 70809cb05c WIP Items module.
2019-09-03 02:07:28 +02:00

43 lines
786 B
JavaScript

describe('routes: `/routes`', () => {
describe('POST: `/routes`', () => {
it('Should create a new user if the user was not authorized.', () => {
});
it('Should `email` be required.', () => {
});
it('Should `password` be required.', () => {
});
it('Should `status` be boolean', () => {
});
});
describe('DELETE: `/users/:id`', () => {
it('Should not success if the user was not authorized.', () => {
});
it('Should not success if the user was pre-defined user.', () => {
});
it('Should response not found if the user was not exist.', () => {
});
it('Should response success if the user was exist.', () => {
});
it('Should delete the give user after success response.', () => {
});
});
});