File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ class FourSlashRunner extends RunnerBase {
35
35
this . tests = this . enumerateFiles ( this . basePath , / \. t s / i, { recursive : false } ) ;
36
36
}
37
37
38
- this . tests . forEach ( ( fn : string ) => {
39
- describe ( fn , ( ) => {
40
- fn = ts . normalizeSlashes ( fn ) ;
38
+ this . tests . forEach ( ( fn : string ) => {
39
+ describe ( fn , ( ) => {
40
+ fn = ts . normalizeSlashes ( fn ) ;
41
41
var justName = fn . replace ( / ^ .* [ \\ \/ ] / , '' ) ;
42
42
43
43
// Convert to relative path
44
44
var testIndex = fn . indexOf ( 'tests/' ) ;
45
45
if ( testIndex >= 0 ) fn = fn . substr ( testIndex ) ;
46
46
47
47
if ( justName && ! justName . match ( / f o u r s l a s h \. t s $ / i) && ! justName . match ( / \. d \. t s $ / i) ) {
48
- it ( this . testSuiteName + ' test ' + justName + ' runs correctly' , ( ) => {
48
+ it ( this . testSuiteName + ' test ' + justName + ' runs correctly' , ( ) => {
49
49
FourSlash . runFourSlashTest ( this . basePath , this . testType , fn ) ;
50
50
} ) ;
51
51
}
You can’t perform that action at this time.
0 commit comments