mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
12 lines
343 B
JavaScript
12 lines
343 B
JavaScript
import { request, expect } from '~/testInit';
|
|
|
|
describe('routes: /oauth2/', () => {
|
|
describe('POST `/api/oauth/token`', () => {
|
|
it('Should `crediential` be required.', async () => {
|
|
const res = await request().post('/api/oauth2/token').send({});
|
|
console.log(res.body);
|
|
expect(res.status).equals(200);
|
|
});
|
|
});
|
|
});
|