Remove a couple spurious console statements I left in yesterday
This commit is contained in:
parent
863322492b
commit
9f451c1994
|
@ -16,7 +16,6 @@ const typesHooks : HooksObject = {
|
|||
export class TypesService {
|
||||
async find(params : Params) : Promise<any> {
|
||||
return db.sequelize.query('SELECT DISTINCT(type) FROM events', { type: db.sequelize.QueryTypes.SELECT }).then((types) => {
|
||||
console.log('lol', types);
|
||||
if (types.length > 0) {
|
||||
return types.map(t => t.type);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ describe('Unit tests for /types', () => {
|
|||
|
||||
it('should return an Array', async () => {
|
||||
const result = await service.find();
|
||||
console.log(result);
|
||||
expect(result.length).toBeGreaterThan(0);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue