Real unit test (isolation, no children render)
Calls:
- constructor
- render
| /******************************* | |
| 脚本功能:Day One 日记+笔记——解锁订阅 | |
| 下载地址:https://is.gd/mt4BxG | |
| 软件版本:7.18.2 | |
| 脚本作者:彭于晏💞 | |
| 更新时间:2022-10-22 | |
| 问题反馈:QQ+89996462 | |
| QQ会员群:779392027💞 | |
| TG反馈群:https://t.me/plus8889 |
| var body = $response.body; | |
| var obj = JSON.parse(body); | |
| obj.user.expiration_date = "05/05/2099, 05:13:20 PM UTC", | |
| obj.user.plan_description = "1 year", | |
| obj.user.subscription_end_date = "05/04/2099, 05:13:20 PM UTC", | |
| obj.user.subscription_period = "P1Y", | |
| obj.user.subscription_source = "62926", | |
| body = JSON.stringify(obj); |