express-api-cli
Version:
Cli tool for generating an express project. Instead of wasting extra time creating your project structure, start building right away
12 lines (10 loc) • 316 B
text/typescript
import { expect } from 'chai';
import UserService from '../../src/services/user.service';
describe('User', () => {
describe('Get Users', () => {
it('should return empty array', async () => {
const result = await new UserService().getAllUsers();
expect(result).to.be.an('array');
});
});
});