Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
49b8181b
Commit
49b8181b
authored
Apr 15, 2014
by
yancend
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test]修改测试配置
parent
1c0bf6d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
_mergeCoverageForistanbul.js
spec/_mergeCoverageForistanbul.js
+2
-2
No files found.
spec/_mergeCoverageForistanbul.js
View file @
49b8181b
...
...
@@ -8,7 +8,7 @@ var jsonFileBasePath = './spec/coverage/json_files/';
var
jsonFiles
=
fs
.
readdirSync
(
jsonFileBasePath
);
var
finalJsonFile
=
'defaultFileName'
;
var
curPath
=
'/spec'
;
var
resultPath
=
'
.
'
;
var
resultPath
=
'
spec/coverage
'
;
//找出所有的json文件
for
(
var
i
=
0
;
i
<
jsonFiles
.
length
;
i
++
)
{
...
...
@@ -119,7 +119,7 @@ function mergeDetail(allEle, addEle, attrName, type) {
//修正路径
function
fixPath
(
oldPath
){
//例如把 "D:/workspace/ufinder/_src/core/finder.js" 修正为
//
.
/_src/core/finder.js 注意这里一定要用相对路径(相对于_spec/coverage)
//
spec/coverage
/_src/core/finder.js 注意这里一定要用相对路径(相对于_spec/coverage)
var
s
=
__dirname
.
replace
(
/
\\
/g
,
'/'
);
if
(
s
.
lastIndexOf
(
curPath
)){
s
=
s
.
substring
(
0
,
s
.
lastIndexOf
(
curPath
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment