import test from 'node:test';
import assert from 'node:assert';
import { requireEnv, DEFAULT_REQUIRED } from '../_helpers/env.js';
import { AutoReporter } from '../reporters/AutoReporter.js';


// Auto-Reporter Configuration
const autoReporter = new AutoReporter();

test('ENV: required variables present (soft)', () => {
  const res = requireEnv(DEFAULT_REQUIRED);
  if (!res.ok) {
    // soft fail: on avertit mais on n'arrête pas
    console.warn('[ENV WARN] Missing env:', res.missing);
  }
  assert.ok(true, 'Soft check done');
});
