mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
style: format the database helper test
This commit is contained in:
1 parent
2d16183b58
commit
36a1485b91
1 file changed
+3
-1
@@ -152,7 +152,9 @@ describe("buildSessionOptions", () => {
|
||||
it("keeps work_mem when the timeout is disabled", () => {
|
||||
process.env.DATABASE_STATEMENT_TIMEOUT_MS = "0";
|
||||
delete process.env.DATABASE_WORK_MEM;
|
||||
expect(buildSessionOptions()).toBe("-c work_mem=16MB -c jit=off -c TimeZone=UTC");
|
||||
expect(buildSessionOptions()).toBe(
|
||||
"-c work_mem=16MB -c jit=off -c TimeZone=UTC",
|
||||
);
|
||||
});
|
||||
|
||||
it("sets the default work_mem beside the timeouts", () => {
|
||||
|
||||
Reference in new issue
Block a user