chore: Запуск тестов добавлен в прекоммит хук, добавлен мок тест файл
This commit is contained in:
@@ -5,5 +5,7 @@ pre-commit:
|
||||
glob: "*.{js,json,css}"
|
||||
run: yarn biome check --write {staged_files}
|
||||
stage_fixed: true
|
||||
tests:
|
||||
run: yarn test
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
import { describe, expect, test } from 'vitest';
|
||||
|
||||
describe('Mock test', () => {
|
||||
test('Mock test', () => {
|
||||
expect('Mock').equal('Mock');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user