@forge/teamwork-graph 3.1.2-next.1-experimental-9065145 → 3.1.2
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.
|
@@ -2320,14 +2320,7 @@ describe('JsonNode and AssociationObject types', () => {
|
|
|
2320
2320
|
it('should accept AssociationObject with mixed JsonNode values', () => {
|
|
2321
2321
|
const association = {
|
|
2322
2322
|
associationType: 'metadata',
|
|
2323
|
-
values: [
|
|
2324
|
-
'string value',
|
|
2325
|
-
42,
|
|
2326
|
-
true,
|
|
2327
|
-
null,
|
|
2328
|
-
{ key: 'value' },
|
|
2329
|
-
[1, 2, 3]
|
|
2330
|
-
]
|
|
2323
|
+
values: ['string value', 42, true, null, { key: 'value' }, [1, 2, 3]]
|
|
2331
2324
|
};
|
|
2332
2325
|
expect(association.associationType).toBe('metadata');
|
|
2333
2326
|
expect(association.values).toHaveLength(6);
|
|
@@ -2350,10 +2343,7 @@ describe('JsonNode and AssociationObject types', () => {
|
|
|
2350
2343
|
active: true
|
|
2351
2344
|
}
|
|
2352
2345
|
},
|
|
2353
|
-
[
|
|
2354
|
-
{ nested: 'value' },
|
|
2355
|
-
123
|
|
2356
|
-
]
|
|
2346
|
+
[{ nested: 'value' }, 123]
|
|
2357
2347
|
]
|
|
2358
2348
|
};
|
|
2359
2349
|
expect(association.associationType).toBe('complex-association');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/teamwork-graph",
|
|
3
|
-
"version": "3.1.2
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Forge TeamworkGraph SDK",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"jest-when": "^3.6.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@forge/api": "^6.4.1
|
|
26
|
+
"@forge/api": "^6.4.1",
|
|
27
27
|
"uuid": "^9.0.1"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|