chore: Запуск тестов добавлен в прекоммит хук, добавлен мок тест файл
This commit is contained in:
1 parent
0ef84021b6
commit
bb02a20df6
2 files changed
+9
No files matched your search
@@ -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