|
|
@ -385,7 +385,7 @@ describe("/rows", () => { |
|
|
name: "test", |
|
|
name: "test", |
|
|
description: "test", |
|
|
description: "test", |
|
|
attachment: [{ |
|
|
attachment: [{ |
|
|
key: `${config.getAppId()}/attachment/test/thing.csv`, |
|
|
key: `${config.getAppId()}/attachments/test/thing.csv`, |
|
|
}], |
|
|
}], |
|
|
tableId: table._id, |
|
|
tableId: table._id, |
|
|
}) |
|
|
}) |
|
|
@ -393,7 +393,7 @@ describe("/rows", () => { |
|
|
await setup.switchToSelfHosted(async () => { |
|
|
await setup.switchToSelfHosted(async () => { |
|
|
const enriched = await outputProcessing(config.getAppId(), table, [row]) |
|
|
const enriched = await outputProcessing(config.getAppId(), table, [row]) |
|
|
expect(enriched[0].attachment[0].url).toBe( |
|
|
expect(enriched[0].attachment[0].url).toBe( |
|
|
`/prod-budi-app-assets/${config.getAppId()}/attachment/test/thing.csv` |
|
|
`/prod-budi-app-assets/${config.getAppId()}/attachments/test/thing.csv` |
|
|
) |
|
|
) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
|