feat: Receivable and payable aging summary financial statement.

This commit is contained in:
Ahmed Bouhuolia
2020-06-11 22:05:34 +02:00
parent 55a4319827
commit 4d1dd14f8d
36 changed files with 1435 additions and 195 deletions

View File

@@ -10,7 +10,7 @@ import {
} from '~/dbInit';
describe('routes: /accounts/', () => {
describe.only('routes: /accounts/', () => {
describe('POST `/accounts`', () => {
it('Should `name` be required.', async () => {
const res = await request()
@@ -190,7 +190,7 @@ describe('routes: /accounts/', () => {
});
});
it('Should response success with correct data form.', async () => {
it.only('Should response success with correct data form.', async () => {
const account = await tenantFactory.create('account');
const res = await request()
.post('/api/accounts')
@@ -204,6 +204,8 @@ describe('routes: /accounts/', () => {
code: '123',
});
console.log(res.body);
expect(res.status).equals(200);
});
});