Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
半栈学徒
incubator-echarts
提交
e43623da
I
incubator-echarts
项目概览
半栈学徒
/
incubator-echarts
与 Fork 源项目一致
从无法访问的项目Fork
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-echarts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e43623da
编写于
5月 10, 2021
作者:
P
pissang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test(visual): update fs-extra version
上级
13932242
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
22 addition
and
24 deletion
+22
-24
package-lock.json
package-lock.json
+17
-21
package.json
package.json
+1
-1
test/runTest/actions/allZero.json
test/runTest/actions/allZero.json
+1
-1
test/runTest/cli.js
test/runTest/cli.js
+3
-1
未找到文件。
package-lock.json
浏览文件 @
e43623da
...
...
@@ -4848,26 +4848,31 @@
"dev"
:
true
},
"fs-extra"
:
{
"version"
:
"
0.26.7
"
,
"resolved"
:
"https://registry.npmjs.org/fs-extra/-/fs-extra-
0.26.7
.tgz"
,
"integrity"
:
"sha
1-muH92UiXeY7at20JGM9C0MMYT6k
="
,
"version"
:
"
10.0.0
"
,
"resolved"
:
"https://registry.npmjs.org/fs-extra/-/fs-extra-
10.0.0
.tgz"
,
"integrity"
:
"sha
512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ=
="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.2"
,
"jsonfile"
:
"^2.1.0"
,
"klaw"
:
"^1.0.0"
,
"path-is-absolute"
:
"^1.0.0"
,
"rimraf"
:
"^2.2.8"
"graceful-fs"
:
"^4.2.0"
,
"jsonfile"
:
"^6.0.1"
,
"universalify"
:
"^2.0.0"
},
"dependencies"
:
{
"jsonfile"
:
{
"version"
:
"
2.4
.0"
,
"resolved"
:
"https://registry.npmjs.org/jsonfile/-/jsonfile-
2.4
.0.tgz"
,
"integrity"
:
"sha
1-NzaitCi4e72gzIO1P6PWM6NcKug
="
,
"version"
:
"
6.1
.0"
,
"resolved"
:
"https://registry.npmjs.org/jsonfile/-/jsonfile-
6.1
.0.tgz"
,
"integrity"
:
"sha
512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ=
="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.6"
"graceful-fs"
:
"^4.1.6"
,
"universalify"
:
"^2.0.0"
}
},
"universalify"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
,
"integrity"
:
"sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
,
"dev"
:
true
}
}
},
...
...
@@ -7450,15 +7455,6 @@
"integrity"
:
"sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw=="
,
"dev"
:
true
},
"klaw"
:
{
"version"
:
"1.3.1"
,
"resolved"
:
"https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz"
,
"integrity"
:
"sha1-QIhDO0azsbolnXh4XY6W9zugJDk="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.9"
}
},
"kleur"
:
{
"version"
:
"3.0.3"
,
"resolved"
:
"https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz"
,
...
...
package.json
浏览文件 @
e43623da
...
...
@@ -85,7 +85,7 @@
"
dtslint
"
:
"
^4.0.5
"
,
"
esbuild
"
:
"
^0.8.39
"
,
"
eslint
"
:
"
^7.15.0
"
,
"
fs-extra
"
:
"
0.26.7
"
,
"
fs-extra
"
:
"
^10.0.0
"
,
"
glob
"
:
"
7.0.0
"
,
"
globby
"
:
"
11.0.0
"
,
"
husky
"
:
"
^4.2.5
"
,
...
...
test/runTest/actions/allZero.json
浏览文件 @
e43623da
[{
"name"
:
"Action 2"
,
"ops"
:[{
"type"
:
"mousemove"
,
"time"
:
698
,
"x"
:
192
,
"y"
:
274
},{
"type"
:
"mousemove"
,
"time"
:
899
,
"x"
:
213
,
"y"
:
276
},{
"type"
:
"mousemove"
,
"time"
:
1104
,
"x"
:
238
,
"y"
:
281
},{
"type"
:
"mousemove"
,
"time"
:
1306
,
"x"
:
239
,
"y"
:
281
},{
"type"
:
"screenshot"
,
"time"
:
2832
},{
"type"
:
"mousemove"
,
"time"
:
3509
,
"x"
:
240
,
"y"
:
281
},{
"type"
:
"mousemove"
,
"time"
:
3710
,
"x"
:
271
,
"y"
:
283
},{
"type"
:
"mousemove"
,
"time"
:
3923
,
"x"
:
346
,
"y"
:
294
},{
"type"
:
"mousemove"
,
"time"
:
4123
,
"x"
:
367
,
"y"
:
298
},{
"type"
:
"screenshot"
,
"time"
:
5039
},{
"type"
:
"mousemove"
,
"time"
:
5408
,
"x"
:
368
,
"y"
:
298
},{
"type"
:
"mousemove"
,
"time"
:
5609
,
"x"
:
451
,
"y"
:
309
},{
"type"
:
"mousemove"
,
"time"
:
5809
,
"x"
:
498
,
"y"
:
316
},{
"type"
:
"mousemove"
,
"time"
:
6017
,
"x"
:
540
,
"y"
:
318
},{
"type"
:
"screenshot"
,
"time"
:
6958
}],
"scrollY"
:
0
,
"scrollX"
:
0
,
"timestamp"
:
1567956980119
}]
\ No newline at end of file
[{
"name"
:
"Action 1"
,
"ops"
:[{
"type"
:
"mousemove"
,
"time"
:
698
,
"x"
:
192
,
"y"
:
274
},{
"type"
:
"mousemove"
,
"time"
:
899
,
"x"
:
213
,
"y"
:
276
},{
"type"
:
"mousemove"
,
"time"
:
1104
,
"x"
:
238
,
"y"
:
281
},{
"type"
:
"mousemove"
,
"time"
:
1306
,
"x"
:
239
,
"y"
:
281
},{
"type"
:
"screenshot"
,
"time"
:
2832
},{
"type"
:
"mousemove"
,
"time"
:
3509
,
"x"
:
240
,
"y"
:
281
},{
"type"
:
"mousemove"
,
"time"
:
3710
,
"x"
:
271
,
"y"
:
283
},{
"type"
:
"mousemove"
,
"time"
:
3923
,
"x"
:
346
,
"y"
:
294
},{
"type"
:
"mousemove"
,
"time"
:
4123
,
"x"
:
367
,
"y"
:
298
},{
"type"
:
"screenshot"
,
"time"
:
5039
},{
"type"
:
"mousemove"
,
"time"
:
5408
,
"x"
:
368
,
"y"
:
298
},{
"type"
:
"mousemove"
,
"time"
:
5609
,
"x"
:
451
,
"y"
:
309
},{
"type"
:
"mousemove"
,
"time"
:
5809
,
"x"
:
498
,
"y"
:
316
},{
"type"
:
"mousemove"
,
"time"
:
6017
,
"x"
:
540
,
"y"
:
318
},{
"type"
:
"screenshot"
,
"time"
:
6958
}],
"scrollY"
:
0
,
"scrollX"
:
0
,
"timestamp"
:
1567956980119
}]
\ No newline at end of file
test/runTest/cli.js
浏览文件 @
e43623da
...
...
@@ -281,7 +281,9 @@ async function runTestPage(browser, testOpt, version, runtimeCode, isExpected) {
let
actContent
=
await
fse
.
readFile
(
path
.
join
(
__dirname
,
'
actions
'
,
testOpt
.
name
+
'
.json
'
));
actions
=
JSON
.
parse
(
actContent
);
}
catch
(
e
)
{}
catch
(
e
)
{
// console.log(e);
}
if
(
actions
.
length
>
0
)
{
try
{
page
.
evaluate
((
actions
)
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录