feat: Setup projet Classeo avec infrastructure Docker et architecture DDD
Configure l'environnement de développement complet avec Docker Compose, structure DDD 4 Bounded Contexts, et pipeline CI/CD GitHub Actions. Corrections compatibilité CI: - Symfony 8 nécessite monolog-bundle ^4.0 (la v3.x ne supporte que jusqu'à Symfony 7) - ESLint v9 nécessite flat config (eslint.config.js) - le format .eslintrc.cjs est obsolète
This commit is contained in:
21
frontend/tests/unit/example.test.ts
Normal file
21
frontend/tests/unit/example.test.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
|
||||
describe('Math operations', () => {
|
||||
it('should add two numbers correctly', () => {
|
||||
expect(1 + 1).toBe(2);
|
||||
});
|
||||
|
||||
it('should multiply two numbers correctly', () => {
|
||||
expect(2 * 3).toBe(6);
|
||||
});
|
||||
});
|
||||
|
||||
describe('String operations', () => {
|
||||
it('should concatenate strings', () => {
|
||||
expect('Hello' + ' ' + 'World').toBe('Hello World');
|
||||
});
|
||||
|
||||
it('should convert to uppercase', () => {
|
||||
expect('classeo'.toUpperCase()).toBe('CLASSEO');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user