This repository has been archived by the owner on Jul 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.tests.ts
66 lines (65 loc) · 2.44 KB
/
index.tests.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import "jasmine"
import * as identifier from "./identifier"
import * as identifierSet from "./identifier-set"
import * as localizedString from "./localized-string"
import * as booleanColumn from "./boolean-column"
import * as stringColumn from "./string-column"
import * as entityReferenceColumn from "./entity-reference-column"
import * as integerColumn from "./integer-column"
import * as floatColumn from "./float-column"
import * as column from "./column"
import * as columnSet from "./column-set"
import * as labelPart from "./label-part"
import * as label from "./label"
import * as entityType from "./entity-type"
import * as entityTypeSet from "./entity-type-set"
import * as schema from "./schema"
import * as index from "./index"
describe(`index`, () => {
describe(`identifier`, () => {
it(`schema`, () => expect(index.identifier).toBe(identifier.schema))
})
describe(`identifier set`, () => {
it(`schema`, () => expect(index.identifierSet).toBe(identifierSet.schema))
})
describe(`localized string`, () => {
it(`schema`, () => expect(index.localizedString).toBe(localizedString.schema))
})
describe(`boolean column`, () => {
it(`schema`, () => expect(index.booleanColumn).toBe(booleanColumn.schema))
})
describe(`string column`, () => {
it(`schema`, () => expect(index.stringColumn).toBe(stringColumn.schema))
})
describe(`entity reference column`, () => {
it(`schema`, () => expect(index.entityReferenceColumn)
.toBe(entityReferenceColumn.schema))
})
describe(`integer column`, () => {
it(`schema`, () => expect(index.integerColumn).toBe(integerColumn.schema))
})
describe(`float column`, () => {
it(`schema`, () => expect(index.floatColumn).toBe(floatColumn.schema))
})
describe(`column`, () => {
it(`schema`, () => expect(index.column).toBe(column.schema))
})
describe(`column set`, () => {
it(`schema`, () => expect(index.columnSet).toBe(columnSet.schema))
})
describe(`label part`, () => {
it(`schema`, () => expect(index.labelPart).toBe(labelPart.schema))
})
describe(`label`, () => {
it(`schema`, () => expect(index.label).toBe(label.schema))
})
describe(`entity type`, () => {
it(`schema`, () => expect(index.entityType).toBe(entityType.schema))
})
describe(`entity type set`, () => {
it(`schema`, () => expect(index.entityTypeSet).toBe(entityTypeSet.schema))
})
describe(`schema`, () => {
it(`schema`, () => expect(index.schema).toBe(schema.schema))
})
})