Undo not required changes
This commit is contained in:
parent
559cb3d9e0
commit
0f53fa14ad
|
@ -186,46 +186,7 @@ describe("/tables", () => {
|
|||
let testTable: Table
|
||||
|
||||
beforeEach(async () => {
|
||||
testTable = await config.createTable({
|
||||
name: "TestTable",
|
||||
type: "table",
|
||||
schema: {
|
||||
name: {
|
||||
type: FieldType.STRING,
|
||||
name: "name",
|
||||
visible: true,
|
||||
width: 80,
|
||||
constraints: {
|
||||
type: "string",
|
||||
},
|
||||
},
|
||||
description: {
|
||||
type: FieldType.STRING,
|
||||
name: "description",
|
||||
visible: true,
|
||||
width: 200,
|
||||
constraints: {
|
||||
type: "string",
|
||||
},
|
||||
},
|
||||
id: {
|
||||
type: FieldType.NUMBER,
|
||||
name: "id",
|
||||
visible: true,
|
||||
constraints: {
|
||||
type: "number",
|
||||
},
|
||||
},
|
||||
hiddenField: {
|
||||
type: FieldType.STRING,
|
||||
name: "hiddenField",
|
||||
visible: false,
|
||||
constraints: {
|
||||
type: "string",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
testTable = await config.createTable(testTable)
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
|
|
|
@ -19,14 +19,9 @@ function priceTable(): Table {
|
|||
name: "Price",
|
||||
constraints: {},
|
||||
},
|
||||
Currency: {
|
||||
Category: {
|
||||
type: FieldType.STRING,
|
||||
name: "Currency",
|
||||
constraints: {},
|
||||
},
|
||||
ItemId: {
|
||||
type: FieldType.STRING,
|
||||
name: "ItemId",
|
||||
name: "Category",
|
||||
constraints: {
|
||||
type: "string",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue