From aea0937dd9cbf8a5546194fc5cbfce58e55f5efe Mon Sep 17 00:00:00 2001
From: amin <amin@MacBook-Pro-de-amin.local>
Date: Wed, 30 Oct 2024 15:10:15 +0100
Subject: [PATCH] test: add node option to prioritize ipv4 over ipv6

---
 tests/entrypoint.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/entrypoint.sh b/tests/entrypoint.sh
index a7d317c..67d36fa 100644
--- a/tests/entrypoint.sh
+++ b/tests/entrypoint.sh
@@ -5,6 +5,7 @@
 
 ## Constants
 CONTENT_FOLDER=/app
+export NODE_OPTIONS="--dns-result-order=ipv4first"
 
 shopt -s expand_aliases
 alias xx='bunx --bun' # alternatives : 'npx' 'bunx --bun'