@yanqirenshi/d3.ter 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/Entity.js +1 -1
- package/package.json +1 -1
- package/tests/Entity.test.js +7 -0
package/dist/js/Entity.js
CHANGED
package/package.json
CHANGED
package/tests/Entity.test.js
CHANGED
|
@@ -17,6 +17,13 @@ test('entity type marker and background color follow the entity type', () => {
|
|
|
17
17
|
const event = new Entity(entityData('EVENT'), null);
|
|
18
18
|
expect(event.type.contents).toBe('Evt');
|
|
19
19
|
expect(event.background.color).toBe('#f09199');
|
|
20
|
+
|
|
21
|
+
// issue #18: 対照表(COMPARATIVE)のバッジは「対照」(「対象」は誤字)
|
|
22
|
+
const comparative = new Entity(entityData('COMPARATIVE'), null);
|
|
23
|
+
expect(comparative.type.contents).toBe('対照');
|
|
24
|
+
|
|
25
|
+
const correspondence = new Entity(entityData('CORRESPONDENCE'), null);
|
|
26
|
+
expect(correspondence.type.contents).toBe('対応');
|
|
20
27
|
});
|
|
21
28
|
|
|
22
29
|
// issue #14: TM(T字形ER)の多値。MO=多値のOR、MA=多値のAND(HDR-DTL)
|