Commit Graph

15 Commits

Author SHA1 Message Date
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
Jack Hsieh
175ae5238e Make message icons optional 2018-09-02 17:19:05 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
Jinxuan Zhu
c2519e776b Add promise-like interface (#10470)
* Add promise-like interface

* Keep hide interface

* Shorten

* Test Promise

* Update document

* Update demo: 2.5 second is insignificant with the default 3s hiding

* Update demo: then  interface

* Fix line break

* Chainable

* Thenable demo

* Thenable test

* Fix tsc error

* Fix tsc error

* Better document

* Revert change in loading.md

* Change snapshot
2018-05-25 20:41:07 +08:00
Jin ZHANG
e1c74eb799 add maxCount config to message (#10169) 2018-04-20 15:40:43 +08:00
afc163
4a81e5584f Fix message destroy problem, close #8201 2017-11-22 14:44:06 +08:00
afc163
797754d3fd Fix message cannot hide bug, close #8201 2017-11-18 15:26:02 +08:00
afc163
1e1c6d1c72 Merge branch 'master' into antd-3.0 2017-11-16 19:58:20 +08:00
afc163
46d1296045 Fix async test cases 2017-11-16 17:12:36 +08:00
Kiho · Cham
31d1ce91f7 feat: duration argument is optional (#7874) 2017-10-14 14:28:57 +08:00
偏右
81c1a77686 Fix get container (#5381)
* Fix message getContainer, close #5380

* Add test for message getContainer

* Add test for message config top

* more test for message destroy
2017-03-19 02:07:39 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00