Skip to content

Commit 5b0e7e7

Browse files
committed
log more
1 parent 552c410 commit 5b0e7e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/instanceof.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)