File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,11 @@ test('ensure that instanceof works accross different installations of the fastif
9090 const { foo } = require('dep')
9191
9292 function normalizePath (filePath) {
93+ console.log('filePath', filePath)
94+ console.log('path.normalize(filePath)', path.normalize(filePath))
95+ console.log('path.normalize(filePath).lastIndexOf("${ testDirectoryPrefix } ")', path.normalize(filePath).lastIndexOf('${ testDirectoryPrefix } '))
96+ console.log('filePath.slice(path.normalize(filePath).lastIndexOf("${ testDirectoryPrefix } "))', filePath.slice(path.normalize(filePath).lastIndexOf('${ testDirectoryPrefix } ')))
97+
9398 const normalizedPath = filePath.slice(path.normalize(filePath).lastIndexOf('${ testDirectoryPrefix } '))
9499 return normalizedPath
95100 }
You can’t perform that action at this time.
0 commit comments