Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 682 Bytes

CONTRIBUTING.md

File metadata and controls

55 lines (39 loc) · 682 Bytes

Contributing

If you want to create a hook named use-test.

Git Clone

git clone https://github.com/ahooksjs/useTable.git

Checkout

git checkout -b feat/use-test

Add Hook

npm run add:pkg use-test

The directory is

├── __tests__
│   └── index.test.tsx
├── demo
│   └── default.tsx # Demo
├── index.zh-CN.md # Document
├── package.json
├── src
│   ├── index.ts 
│   └── type.ts # Interface
└── tsconfig.build.json

## Dev

```sh
npm run dev

Test

  • Run All Test
npm run test
  • Run Single Test
npm run test -t <name-of-spec>