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 @@ -144,6 +144,11 @@ test('ensure that instanceof works accross different installations of the fastif
144144 const { createError } = require('fastify-error')
145145
146146 function normalizePath (filePath) {
147+ console.log('filePath', filePath)
148+ console.log('path.normalize(filePath)', path.normalize(filePath))
149+ console.log('path.normalize(filePath).lastIndexOf("${ testDirectoryPrefix } ")', path.normalize(filePath).lastIndexOf('${ testDirectoryPrefix } '))
150+ console.log('filePath.slice(path.normalize(filePath).lastIndexOf("${ testDirectoryPrefix } "))', filePath.slice(path.normalize(filePath).lastIndexOf('${ testDirectoryPrefix } ')))
151+
147152 const normalizedPath = filePath.slice(path.normalize(filePath).lastIndexOf('${ testDirectoryPrefix } '))
148153 return normalizedPath
149154 }
You can’t perform that action at this time.
0 commit comments