feat: Add test infrastructure with Jest and Playwright for Chromium

This commit is contained in:
User
2026-03-21 11:12:08 +00:00
parent b4c030e53e
commit 573f12b3cb
7 changed files with 367 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
/**
* Example unit tests for the 3D Flight Simulator project
*/
describe('Math utilities', () => {
it('should add two numbers', () => {
const result = 2 + 3;
expect(result).toBe(5);
});
it('should subtract two numbers', () => {
const result = 5 - 2;
expect(result).toBe(3);
});
it('should multiply two numbers', () => {
const result = 3 * 4;
expect(result).toBe(12);
});
});