diff --git a/src/utils.test.ts b/src/utils.test.ts index bf8d4fadf..e4e21c7c7 100644 --- a/src/utils.test.ts +++ b/src/utils.test.ts @@ -86,7 +86,11 @@ describe("normalizeE164 & toWhatsappJid", () => { describe("jidToE164", () => { it("maps @lid using reverse mapping file", () => { - const mappingPath = `${CONFIG_DIR}/credentials/lid-mapping-123_reverse.json`; + const mappingPath = path.join( + CONFIG_DIR, + "credentials", + "lid-mapping-123_reverse.json", + ); const original = fs.readFileSync; const spy = vi .spyOn(fs, "readFileSync")