File tree 5 files changed +20
-8
lines changed
5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## [ 0.5.4] - 2016-03-20
6
+ - fix: normalize path issue on Linux
7
+
5
8
## [ 0.5.3] - 2016-03-13
6
9
- ` loadEditor ` for loading editor files
7
10
- ` loadGlobal ` for loading global data
@@ -15,4 +18,4 @@ This project adheres to [Semantic Versioning](http://semver.org/).
15
18
- return ` result.completed ` : boolean, if all tests pass
16
19
17
20
## [ 0.4.4] - 2016-02-26
18
- - ` snippets.cson ` , for quickly generating tests
21
+ - * snippets.cson* , for quickly generating tests
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ function getCrossPlatformPath(pathTo) {
16
16
if ( process . platform . match ( / w i n / ) ) {
17
17
pathTo = pathTo . replace ( / \\ / g, '/' ) ;
18
18
}
19
- else {
20
- pathTo = pathTo . replace ( / \/ / g, '\\' ) ;
21
- }
22
19
return pathTo ;
23
20
}
24
21
global . loadEditor = loadEditor ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mocha-coderoad" ,
3
- "version" : " 0.5.3 " ,
3
+ "version" : " 0.5.4 " ,
4
4
"description" : " mocha test runner & reporter for atom-coderoad" ,
5
5
"main" : " lib/runner.js" ,
6
6
"scripts" : {
26
26
},
27
27
"homepage" : " https://github.com/coderoad/mocha-coderoad#readme" ,
28
28
"dependencies" : {
29
+ "babel-core" : " ^6.7.2" ,
30
+ "babel-preset-es2015" : " ^6.6.0" ,
29
31
"mocha" : " 2.4.5"
30
32
},
31
33
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ function getCrossPlatformPath(pathTo: string): string {
17
17
pathTo = path . normalize ( pathTo ) ;
18
18
if ( process . platform . match ( / w i n / ) ) {
19
19
pathTo = pathTo . replace ( / \\ / g, '/' ) ;
20
- } else {
21
- pathTo = pathTo . replace ( / \/ / g, '\\' ) ;
22
20
}
23
21
return pathTo ;
24
22
}
Original file line number Diff line number Diff line change 1
1
interface Global {
2
- load : ( pathToContext : string ) => void ;
2
+ loadEditor : ( pathToContext : string , options ?: Object ) => void ;
3
+ loadGlobal : ( name : string , pathToContext : string ) => void ;
4
+ }
5
+
6
+ interface ObjectConstructor {
7
+ assign ( target : any , ...sources : any [ ] ) : any ;
8
+ }
9
+
10
+ declare var global : Global ;
11
+
12
+ declare module 'babel-core' {
13
+ var babel : any ;
14
+ export default babel ;
3
15
}
You can’t perform that action at this time.
0 commit comments