chore: Запуск тестов добавлен в прекоммит хук, добавлен мок тест файл

This commit is contained in:
Ilia Mashkov
2026-07-14 19:54:20 +03:00
parent 0ef84021b6
commit bb02a20df6
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -5,5 +5,7 @@ pre-commit:
glob: "*.{js,json,css}" glob: "*.{js,json,css}"
run: yarn biome check --write {staged_files} run: yarn biome check --write {staged_files}
stage_fixed: true stage_fixed: true
tests:
run: yarn test
+7
View File
@@ -0,0 +1,7 @@
import { describe, expect, test } from 'vitest';
describe('Mock test', () => {
test('Mock test', () => {
expect('Mock').equal('Mock');
});
});