提交 fd6cf5f5 编写于 作者: J Joao Moreno

fixes #25613

上级 247fe98b
...@@ -3,16 +3,17 @@ ...@@ -3,16 +3,17 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>VSCode Tests</title> <title>VSCode Tests</title>
<link href="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.css" rel="stylesheet" /> <link href="../../node_modules/mocha/mocha.css" rel="stylesheet" />
</head> </head>
<body> <body>
<div id="mocha"></div> <div id="mocha"></div>
<script src="https://cdn.rawgit.com/mochajs/mocha/2.2.5/mocha.js"></script> <script src="../../node_modules/mocha/mocha.js"></script>
<script> <script>
mocha.setup('tdd'); mocha.setup('tdd');
require('./renderer'); require('./renderer');
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -66,13 +66,13 @@ function createCoverageReport(opts) { ...@@ -66,13 +66,13 @@ function createCoverageReport(opts) {
return str.charAt(0).toUpperCase() + str.substr(1); return str.charAt(0).toUpperCase() + str.substr(1);
} }
return str; return str;
}; }
function toLowerDriveLetter(str) { function toLowerDriveLetter(str) {
if (/^[A-Z]:/.test(str)) { if (/^[A-Z]:/.test(str)) {
return str.charAt(0).toLowerCase() + str.substr(1); return str.charAt(0).toLowerCase() + str.substr(1);
} }
return str; return str;
}; }
const REPO_PATH = toUpperDriveLetter(path.join(__dirname, '../..')); const REPO_PATH = toUpperDriveLetter(path.join(__dirname, '../..'));
const fixPath = function (brokenPath) { const fixPath = function (brokenPath) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册