Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/schemas/NicolasD

Merge with main branch
This commit is contained in:
Nicolas Drolet 2025-07-16 13:05:20 -04:00
commit 5f71b573fc
22 changed files with 19 additions and 76 deletions

View File

@ -1,22 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AppController } from './app.controller';
import { AppService } from './app.service';
describe('AppController', () => {
let appController: AppController;
beforeEach(async () => {
const app: TestingModule = await Test.createTestingModule({
controllers: [AppController],
providers: [AppService],
}).compile();
appController = app.get<AppController>(AppController);
});
describe('root', () => {
it('should return "Hello World!"', () => {
expect(appController.getHello()).toBe('Hello World!');
});
});
});

View File

@ -1,18 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { EmployeesController } from './employees.controller';
describe('EmployeesController', () => {
let controller: EmployeesController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [EmployeesController],
}).compile();
controller = module.get<EmployeesController>(EmployeesController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});

View File

@ -1,18 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { EmployeesService } from './employees.service';
describe('EmployeesService', () => {
let service: EmployeesService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [EmployeesService],
}).compile();
service = module.get<EmployeesService>(EmployeesService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});

View File

View File

@ -0,0 +1,4 @@
import { Controller } from '@nestjs/common';
@Controller('timesheets')
export class TimesheetsController {}

View File

@ -0,0 +1 @@
export class CreateTimesheetDto {}

View File

@ -0,0 +1 @@
export class UpdateTimesheetDto {}

View File

@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class TimesheetsService {}

View File

@ -0,0 +1,9 @@
import { Module } from '@nestjs/common';
import { TimesheetsController } from './controllers/timesheets.controller';
import { TimesheetsService } from './services/timesheets.service';
@Module({
controllers: [TimesheetsController],
providers: [TimesheetsService]
})
export class TimesheetsModule {}

View File

@ -1,18 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { UsersService } from './users.service';
describe('UsersService', () => {
let service: UsersService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [UsersService],
}).compile();
service = module.get<UsersService>(UsersService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});