mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-25 21:28:47 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -130,7 +130,9 @@ describe("Host rule format regression tests", () => {
|
|||||||
l.includes(".rule="),
|
l.includes(".rule="),
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(parsedRuleLabel).toContain("Host(`example.com`) && PathPrefix(`/api`)");
|
expect(parsedRuleLabel).toContain(
|
||||||
|
"Host(`example.com`) && PathPrefix(`/api`)",
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -157,7 +159,9 @@ describe("Host rule format regression tests", () => {
|
|||||||
expect(ruleLabel).toBeDefined();
|
expect(ruleLabel).toBeDefined();
|
||||||
expect(ruleLabel).toContain(`Host(\`${host}\`)`);
|
expect(ruleLabel).toContain(`Host(\`${host}\`)`);
|
||||||
// Verify parenthesis is present
|
// Verify parenthesis is present
|
||||||
expect(ruleLabel).toMatch(new RegExp(`Host\\(\\\`${host.replace(/\./g, "\\.")}\\\`\\)`));
|
expect(ruleLabel).toMatch(
|
||||||
|
new RegExp(`Host\\(\\\`${host.replace(/\./g, "\\.")}\\\`\\)`),
|
||||||
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user