Fix wrong test
This commit is contained in:
parent
da87c0233b
commit
f53500450a
|
@ -1664,7 +1664,7 @@ describe.each([
|
||||||
isInternal &&
|
isInternal &&
|
||||||
describe("attachments and signatures", () => {
|
describe("attachments and signatures", () => {
|
||||||
const coreAttachmentEnrichment = async (
|
const coreAttachmentEnrichment = async (
|
||||||
schema: any,
|
schema: TableSchema,
|
||||||
field: string,
|
field: string,
|
||||||
attachmentCfg: string | string[]
|
attachmentCfg: string | string[]
|
||||||
) => {
|
) => {
|
||||||
|
@ -1691,7 +1691,7 @@ describe.each([
|
||||||
|
|
||||||
await withEnv({ SELF_HOSTED: "true" }, async () => {
|
await withEnv({ SELF_HOSTED: "true" }, async () => {
|
||||||
return context.doInAppContext(config.getAppId(), async () => {
|
return context.doInAppContext(config.getAppId(), async () => {
|
||||||
const enriched: Row[] = await outputProcessing(table, [row])
|
const enriched: Row[] = await outputProcessing(testTable, [row])
|
||||||
const [targetRow] = enriched
|
const [targetRow] = enriched
|
||||||
const attachmentEntries = Array.isArray(targetRow[field])
|
const attachmentEntries = Array.isArray(targetRow[field])
|
||||||
? targetRow[field]
|
? targetRow[field]
|
||||||
|
|
Loading…
Reference in New Issue