From ad4f38632e1ff4d55193f549fcb32dbf294736ae Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Fri, 15 Nov 2024 12:00:55 +0100 Subject: [PATCH] Update expectation in serverless-framework-lambda --- platforms-serverless/serverless-framework-lambda/test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms-serverless/serverless-framework-lambda/test.ts b/platforms-serverless/serverless-framework-lambda/test.ts index cd2a12b106b2..67792fe48c0d 100644 --- a/platforms-serverless/serverless-framework-lambda/test.ts +++ b/platforms-serverless/serverless-framework-lambda/test.ts @@ -11,8 +11,8 @@ async function main() { const actual = (data.$response.data as any).Payload const binaryString = process.env.PRISMA_CLIENT_ENGINE_TYPE === 'binary' - ? `,"files":["default.d.ts","default.js","deno","edge.d.ts","edge.js","index-browser.js","index.d.ts","index.js","package.json","query-engine-rhel-openssl-1.0.x","schema.prisma","wasm.d.ts","wasm.js"]` - : `,"files":["default.d.ts","default.js","deno","edge.d.ts","edge.js","index-browser.js","index.d.ts","index.js","libquery_engine-rhel-openssl-1.0.x.so.node","package.json","schema.prisma","wasm.d.ts","wasm.js"]` + ? `,"files":["default.d.ts","default.js","deno","edge.d.ts","edge.js","index-browser.js","index.d.ts","index.js","package.json","query-engine-rhel-openssl-3.0.x","schema.prisma","wasm.d.ts","wasm.js"]` + : `,"files":["default.d.ts","default.js","deno","edge.d.ts","edge.js","index-browser.js","index.d.ts","index.js","libquery_engine-rhel-openssl-3.0.x.so.node","package.json","schema.prisma","wasm.d.ts","wasm.js"]` const expect = `{"version":"${Prisma.prismaVersion.client}","createUser":{"id":"12345","email":"alice@prisma.io","name":"Alice"},"updateUser":{"id":"12345","email":"bob@prisma.io","name":"Bob"},"users":{"id":"12345","email":"bob@prisma.io","name":"Bob"},"deleteManyUsers":{"count":1}${binaryString}}` if (actual !== expect) {