mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
11 lines
314 B
JavaScript
11 lines
314 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({});
|
|
expect(res.status).equals(200);
|
|
});
|
|
});
|
|
});
|