afc163
704899415e
docs: 📝 fix anchor demo
4 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
偏右
633d064640
✅ increase code cov ( #23880 )
5 years ago
Eric Wang
815baee4d9
chore: Transform anchor test to typescript ( #23499 )
* chore: Transform anchor test to typescript
* Separate dom
* use hash
* .
* chagnelog
* chore: Transform anchor test to typescript
* Separate dom
* use hash
* .
* rebase
5 years ago
吴泽康
4c9d03874b
fix: anchor regexp ( #23577 ) ( #23595 )
* fix: anchor regexp (#23577 )
* test: fix anchor complete href scrollTo test
* test: anchor sharp matcher regexp
* test: Anchor render perfectly for complete href - hash router
5 years ago
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
5 years ago
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
5 years ago
骗你是小猫咪
b93d10d40b
feat(Anchor): add onChange prop ( #18715 )
* feat(Anchor): add onChange prop
* test(Anchor): add onChange prop
* update snapshots
5 years ago
骗你是小猫咪
d9bfc689a4
test(Anchor): optimize dataNowMockFn, avoid being consumed in advance ( #18663 )
* 优化 dataNowMockFn, 避免被提前消费
* test circleci/node:latest
* change .circleci circleci/node:latest -> circleci/node:lts
* add step command [node -v] check current node version
* retry ci test
* rebase master
* retry CI test
5 years ago
afc163
06be298a5c
✅ fix ci
5 years ago
DiamondYuan
a5f1fc80fd
fix: Anchor.Link add add new property target ( #18335 )
* fix: Anchor.Link add add new property target
* docs: update doc of anchor
5 years ago
shao
2416d17b74
test: reduce test time
5 years ago
shao
9a3feda565
test: reduce test time
5 years ago
shao
b4a228c4f4
perf: replace all test suite delay func to common test util sleep func
5 years ago
shao
5e4835363b
feat(Anchor): add targetOffset prop demo
5 years ago
shao
a103d21062
feat(Anchor): add targetOffset prop test case
5 years ago
shao
4beb676794
fix(Anchor): update demo test snap
5 years ago
shao
2a7cb944e0
feat(Anchor): add getCurrentAnchor prop
5 years ago
黄斌
aa663e149d
feat: Re-bind scroll events when components change, add test cases
5 years ago
gyh9457
c037e8dddd
fix anchor demo ( #14226 )
* fix anchor demo
* update anchor snapshot
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
mushan0x0
dd37457048
feat: Anchor onClick ( #11898 )
* update: 添加AntAnchor类型
* update: 完成代码逻辑
* update: 添加测试
* update: 点击锚点不记录历史
* update: 添加示例
* docs: 更新文档
* update: 更改onClick事件里的link为对象
* update: 优化代码
* update: 修改propClick为onClick
6 years ago
afc163
7b719ce457
simplicy Anchor test
6 years ago
afc163
fbab93fbd6
fix anchor test fails a lot again
6 years ago
afc163
c2319f0998
fix test fails a lot
6 years ago
tangjinzhou
14e0cc0161
fix: anchorLink href update
6 years ago
afc163
50057739bf
Add test cases for Anchor
7 years ago
afc163
be13326a1b
Fix typo
7 years ago
afc163
93b14da4a6
improve test code
7 years ago
junjing.zhang
0933201652
anchor scroll supports complete href link - test
anchor scroll supports complete href link, e.g. http://www.example.com/#id , not just #id
7 years ago
afc163
8fb285fce9
Move maxHeight code into anchor, close #8606
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
Benjy Cui
f2d4d0a9e4
refactor: simplify Anchor, and fix #6473
7 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
17a0a33283
Restructure tests.
8 years ago