8 Commits

Author SHA1 Message Date
Maledong
1b4fde454d
unittest: rename and remove some useless tests (#4705)
1. Rename the group names to be more clear.
2. Remove the 'createAsync' to 'async' group at unit test.
3. Format the whole document to be more clear.
4. Make 'create' to '_create' as the inner function to avoid
misunderstanding (the outer function 'create').

Co-authored-by: Maledong <maledong_github@outlook.com>
2021-07-17 16:09:16 +08:00
暗色调
27dacb7c9d feat:Singleton returns client name when create client (#3905) 2019-10-20 23:54:43 +08:00
Yiyu He
4b602d0375
fix: make singleton work for unextensible or frozen instance (#2472) 2018-05-03 10:25:27 +08:00
Yiyu He
e4d219f1aa
fix: imporve compatibility of singleton (#2410) 2018-04-17 11:29:02 +08:00
Yiyu He
3a489b6f47
feat(singleton): support async create function (#2382) 2018-04-14 10:19:12 +08:00
Yiyu He
12edd64915
test: use async function instead of generator function (#1684) 2017-11-20 17:42:35 +08:00
Haoliang Gao
1a027ad727 test: use assert instead of should (#837) 2017-05-03 22:37:51 +08:00
fengmk2
53a9bf4f2f test: add test codes (#20)
closes #16
2016-07-18 21:16:35 +08:00