Persist Revit CSV configuration
This commit is contained in:
parent
da689af518
commit
219da5ec3b
22 changed files with 2508 additions and 27 deletions
|
|
@ -122,6 +122,14 @@ describe("external CSV configuration", () => {
|
|||
configuration.familyTypeRules[0].quantityRule = { kind: "mapped-column" };
|
||||
assert.match(validateFailure(configuration), /requires a configured quantity column/);
|
||||
});
|
||||
|
||||
it("rejects unknown configuration fields", () => {
|
||||
const configuration = {
|
||||
...createDefaultExternalCsvConfiguration(columns),
|
||||
legacyMapping: true,
|
||||
};
|
||||
assert.match(validateFailure(configuration), /unknown or missing fields/);
|
||||
});
|
||||
});
|
||||
|
||||
function validateFailure(value: unknown) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue