提交 ad6a99a6 编写于 作者: lizhongyi_'s avatar lizhongyi_

调整部分测试例

上级 de1a3404
...@@ -27,13 +27,13 @@ export function testDate() : Result { ...@@ -27,13 +27,13 @@ export function testDate() : Result {
let date1 = new Date('1992-02-02'); let date1 = new Date('1992-02-02');
expect(date1.getTime()).toEqual(696988800000); expect(date1.getTime()).toEqual(696988800000);
// #ifdef APP-ANDROID
let date2 = new Date('Sun Feb 03 1991 08:00:00 GMT+0800'); let date2 = new Date('Sun Feb 03 1991 08:00:00 GMT+0800');
expect(date2.getTime()).toEqual(665539200000); expect(date2.getTime()).toEqual(665539200000);
let date3 = new Date('Sun Feb 03 1991'); let date3 = new Date('Sun Feb 03 1991');
expect(date3.getTime()).toEqual(665510400000); expect(date3.getTime()).toEqual(665510400000);
// #ifdef APP-ANDROID
/** /**
* iso 8601 相关 * iso 8601 相关
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册