Skip to content

Commit 00d4773

Browse files
chore: clarification comment
1 parent 826f391 commit 00d4773

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test-find-python.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ const util = require('util')
99
const path = require('path')
1010
const npmlog = require('npmlog')
1111
const fs = require('fs')
12+
// just comment this line to see log output
13+
// useful to not to test output by hand
14+
// ! keep uncommented when committing
1215
npmlog.level = 'silent'
1316

1417
// what final error message displayed in terminal should contain
@@ -317,7 +320,7 @@ test('find-python', { buffered: true }, (t) => {
317320
// making fixture
318321
paths.testDir = fs.mkdtempSync(path.resolve(paths.baseDir, 'node_modules', 'pythonFindTestFolder-'))
319322

320-
// using "junction" to avoid permission error
323+
// using "junction" to avoid permission error on windows (ignored on other platforms)
321324
fs.symlinkSync(paths.pythonDir, path.resolve(paths.testDir, testString), 'junction')
322325
console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ await.test ~ path.resolve(paths.testDir, testString)', path.resolve(paths.testDir, testString))
323326
console.log('🚀 ~ file: test-find-python.js ~ line 312 ~ await.test ~ paths.pythonDir', paths.pythonDir)

0 commit comments

Comments
 (0)