Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ef7114c77 |
@@ -137,7 +137,7 @@ describe("readWorksheetMatrix", () => {
|
|||||||
await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow(
|
await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow(
|
||||||
`exceeds the ${MAX_DISPO_WORKBOOK_ROWS} row import limit`,
|
`exceeds the ${MAX_DISPO_WORKBOOK_ROWS} row import limit`,
|
||||||
);
|
);
|
||||||
}, 60000);
|
}, 30000);
|
||||||
|
|
||||||
it("rejects worksheets that exceed the column limit", async () => {
|
it("rejects worksheets that exceed the column limit", async () => {
|
||||||
const directory = await makeTempDirectory();
|
const directory = await makeTempDirectory();
|
||||||
@@ -149,7 +149,7 @@ describe("readWorksheetMatrix", () => {
|
|||||||
await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow(
|
await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow(
|
||||||
`exceeds the ${MAX_DISPO_WORKBOOK_COLUMNS} column import limit`,
|
`exceeds the ${MAX_DISPO_WORKBOOK_COLUMNS} column import limit`,
|
||||||
);
|
);
|
||||||
}, 60000);
|
}, 30000);
|
||||||
|
|
||||||
describe("DISPO_IMPORT_DIR allowlist", () => {
|
describe("DISPO_IMPORT_DIR allowlist", () => {
|
||||||
it("rejects absolute paths that escape the configured import dir", async () => {
|
it("rejects absolute paths that escape the configured import dir", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user