diff --git a/packages/server/src/sdk/app/rows/tests/utils.spec.ts b/packages/server/src/sdk/app/rows/tests/utils.spec.ts index a7bfee3ea9..516334d31d 100644 --- a/packages/server/src/sdk/app/rows/tests/utils.spec.ts +++ b/packages/server/src/sdk/app/rows/tests/utils.spec.ts @@ -364,7 +364,7 @@ describe("validate", () => { "/* This is a comment */ SELECT * FROM users", '', ])("test potentially unsafe input: %s", async input => { - withEnv({ XSS_SAFE_MODE: "1" }, async () => { + await withEnv({ XSS_SAFE_MODE: "1" }, async () => { const table = getTable() const row = { text: input } const output = await validate({ source: table, row })