fix(qenv): replace smartfile-based config loading with native fs and yaml parsing for env files

This commit is contained in:
2026-05-01 15:54:39 +00:00
parent c0d33340c3
commit 5e31dc93a3
13 changed files with 3777 additions and 3804 deletions
+3 -2
View File
@@ -88,7 +88,8 @@ tap.test('should throw error for undefined in strict mode', async () => {
await testQenv.getEnvVarOnDemandStrict('NON_EXISTENT_VAR');
} catch (error) {
threwError = true;
expect(error.message).toContain('is not set');
const errorMessage = error instanceof Error ? error.message : String(error);
expect(errorMessage).toContain('is not set');
}
expect(threwError).toBeTrue();
@@ -116,4 +117,4 @@ tap.test('should handle array of env vars with falsy values', async () => {
delete process.env['SECOND_VAR'];
});
export default tap.start();
export default tap.start();