diff --git a/.husky/pre-commit b/.husky/pre-commit index c542f310..e95031c2 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,5 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - yarn lint-staged -yarn test:unit +yarn test:unit run diff --git a/src/shared/ui/sheet/__tests__/UiSheet.spec.ts b/src/shared/ui/sheet/__tests__/UiSheet.spec.ts index f1cf17f8..8b366fba 100644 --- a/src/shared/ui/sheet/__tests__/UiSheet.spec.ts +++ b/src/shared/ui/sheet/__tests__/UiSheet.spec.ts @@ -35,7 +35,7 @@ describe('UiSheet', () => { expect(wrapper.find('[class*="sheet_footer"]').text()).toContain('sheet footer'); }); - it('should open and close the sheet', async () => { + it('should open/close the sheet', async () => { wrapper.vm.open(); await wrapper.vm.$nextTick(); expect(wrapper.find('[class*="sheet"]').attributes('aria-hidden')).toBe('false');