Closed
Description
describe('Jest setup', () => {
test('Get all accounts', async () => {
const request = createRequest({
method: 'GET',
url: '/api/accounts',
});
const response = createResponse();
await app(request, response);
console.log(response._getData());
});
});
The route is hit after the end of test.