We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbe9766 commit 03dac4dCopy full SHA for 03dac4d
test/helper.js
@@ -54,7 +54,7 @@ function sleep (ms) {
54
55
function watchFileCreated (filename) {
56
return new Promise((resolve, reject) => {
57
- const TIMEOUT = 2000
+ const TIMEOUT = process.env.PINO_TEST_WAIT_WATCHFILE_TIMEOUT || 10000
58
const INTERVAL = 100
59
const threshold = TIMEOUT / INTERVAL
60
let counter = 0
@@ -79,7 +79,7 @@ function watchFileCreated (filename) {
79
80
function watchForWrite (filename, testString) {
81
82
+ const TIMEOUT = process.env.PINO_TEST_WAIT_WRITE_TIMEOUT || 10000
83
84
85
0 commit comments