Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit b5ee47b

Browse files
committed
update tests
1 parent b9dcd04 commit b5ee47b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/libs/lambda-at-edge/tests/build/build.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ describe("Builder Tests", () => {
342342
expect(staticFiles).toEqual(["donotdelete.txt"]);
343343

344344
const nextDataFiles = await fse.readdir(
345-
join(outputDir, `${ASSETS_DIR}/_next/data/zsWqBqLjpgRmswfQomanp`)
345+
join(outputDir, `${ASSETS_DIR}/_next/data/test-build-id`)
346346
);
347347
expect(nextDataFiles).toEqual(["contact.json", "index.json"]);
348348

packages/serverless-components/nextjs-component/__tests__/custom-inputs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ describe("Custom inputs", () => {
276276
);
277277
});
278278

279-
["_next/data/zsWqBqLjpgRmswfQomanp/index.json"].forEach((file) => {
279+
["_next/data/test-build-id/index.json"].forEach((file) => {
280280
expect(mockUpload).toBeCalledWith(
281281
expect.objectContaining({
282282
Key: file,

packages/serverless-components/nextjs-component/__tests__/deploy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ describe("deploy tests", () => {
331331
);
332332
});
333333

334-
["_next/data/zsWqBqLjpgRmswfQomanp/index.json"].forEach((file) => {
334+
["_next/data/test-build-id/index.json"].forEach((file) => {
335335
expect(mockUpload).toBeCalledWith(
336336
expect.objectContaining({
337337
Key: file,

0 commit comments

Comments
 (0)