Update cucumber.config.js

This commit is contained in:
lin onetwo 2026-01-25 16:39:25 +08:00
parent 5cc605a1a8
commit c9dcd2cc46

View file

@ -1,5 +1,10 @@
const isCI = Boolean(process.env.CI);
// Debug: Log CI detection for troubleshooting timeout issues
console.log('[Cucumber Config] CI environment variable:', process.env.CI);
console.log('[Cucumber Config] isCI:', isCI);
console.log('[Cucumber Config] Timeout will be:', isCI ? 25000 : 5000, 'ms');
module.exports = {
default: {
require: [