@teambit/objects 0.0.19 → 0.0.21

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.
@@ -1,28 +1,20 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="63" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.scope/objects@0.0.19" tests="63" failures="0" errors="0" skipped="0">
4
- <testcase classname="dist/objects/scope-index.spec.js" name="should add to the index array" time="0.001"/>
5
- <testcase classname="dist/objects/scope-index.spec.js" name="should not add the same component multiple times" time="0.001"/>
6
- <testcase classname="dist/objects/scope-index.spec.js" name="should not add BitObjects that are not Symlink nor ModelComponent"/>
7
- <testcase classname="dist/objects/scope-index.spec.js" name="should remove from the index array" time="0.001"/>
8
- <testcase classname="dist/objects/scope-index.spec.js" name="should remove the correct one when there are multiple"/>
9
- <testcase classname="dist/objects/scope-index.spec.js" name="should remove multiple when removing them at the same removeMany call"/>
10
- <testcase classname="dist/objects/scope-index.spec.js" name="should remove multiple when removing them with separate removeMany calls"/>
11
- <testcase classname="dist/objects/scope-index.spec.js" name="should remove multiple when calling them with separate removeMany calls using array.map"/>
12
- <testcase classname="dist/models/model-component.spec.js" name="should throw an error" time="0.006"/>
13
- <testcase classname="dist/models/version.spec.js" name="should have mainFile property"/>
3
+ <testsuite name="teambit.scope/objects@0.0.21" tests="63" failures="0" errors="0" skipped="0">
4
+ <testcase classname="dist/models/model-component.spec.js" name="should throw an error" time="0.007"/>
5
+ <testcase classname="dist/models/version.spec.js" name="should have mainFile property" time="0.001"/>
14
6
  <testcase classname="dist/models/version.spec.js" name="should have files property"/>
15
7
  <testcase classname="dist/models/version.spec.js" name="should have log property"/>
16
8
  <testcase classname="dist/models/version.spec.js" name="should have dependencies property"/>
17
9
  <testcase classname="dist/models/version.spec.js" name="should have packageDependencies property"/>
18
- <testcase classname="dist/models/version.spec.js" name="should have bindingPrefix property"/>
10
+ <testcase classname="dist/models/version.spec.js" name="should have bindingPrefix property" time="0.001"/>
19
11
  <testcase classname="dist/models/version.spec.js" name="should not have docs property"/>
20
12
  <testcase classname="dist/models/version.spec.js" name="should not have devDependencies property"/>
21
13
  <testcase classname="dist/models/version.spec.js" name="should not have flattenedDependencies property"/>
22
14
  <testcase classname="dist/models/version.spec.js" name="should not have devPackageDependencies property"/>
23
15
  <testcase classname="dist/models/version.spec.js" name="should not have peerPackageDependencies property"/>
24
16
  <testcase classname="dist/models/version.spec.js" name="dependencies should be an array"/>
25
- <testcase classname="dist/models/version.spec.js" name="dependencies should have properties id and relativePaths only" time="0.001"/>
17
+ <testcase classname="dist/models/version.spec.js" name="dependencies should have properties id and relativePaths only"/>
26
18
  <testcase classname="dist/models/version.spec.js" name="relativePaths should be an array"/>
27
19
  <testcase classname="dist/models/version.spec.js" name="relativePaths should have properties sourceRelativePath and destinationRelativePath only"/>
28
20
  <testcase classname="dist/models/version.spec.js" name="should have a correct hash string"/>
@@ -37,25 +29,25 @@
37
29
  <testcase classname="dist/models/version.spec.js" name="should throw when the file.name is not a string"/>
38
30
  <testcase classname="dist/models/version.spec.js" name="should throw when the file hash is not a string"/>
39
31
  <testcase classname="dist/models/version.spec.js" name="should throw when the main file is not in the file lists"/>
40
- <testcase classname="dist/models/version.spec.js" name="should throw when the two files have the same name but different letter cases"/>
32
+ <testcase classname="dist/models/version.spec.js" name="should throw when the two files have the same name but different letter cases" time="0.001"/>
41
33
  <testcase classname="dist/models/version.spec.js" name="should throw for an invalid package version"/>
42
- <testcase classname="dist/models/version.spec.js" name="should not throw for a package version which is a git url"/>
34
+ <testcase classname="dist/models/version.spec.js" name="should not throw for a package version which is a git url" time="0.001"/>
43
35
  <testcase classname="dist/models/version.spec.js" name="should throw for invalid packageDependencies type"/>
44
36
  <testcase classname="dist/models/version.spec.js" name="should throw for invalid devPackageDependencies type"/>
45
- <testcase classname="dist/models/version.spec.js" name="should throw for invalid peerPackageDependencies type"/>
37
+ <testcase classname="dist/models/version.spec.js" name="should throw for invalid peerPackageDependencies type" time="0.001"/>
46
38
  <testcase classname="dist/models/version.spec.js" name="should throw when dependencies are invalid"/>
47
39
  <testcase classname="dist/models/version.spec.js" name="should throw when devDependencies are invalid"/>
48
- <testcase classname="dist/models/version.spec.js" name="should throw when there are dependencies and the flattenDependencies are empty" time="0.001"/>
40
+ <testcase classname="dist/models/version.spec.js" name="should throw when there are dependencies and the flattenDependencies are empty"/>
49
41
  <testcase classname="dist/models/version.spec.js" name="should throw when a flattenDependency is invalid"/>
50
- <testcase classname="dist/models/version.spec.js" name="should throw when a flattenDependency does not have a version"/>
42
+ <testcase classname="dist/models/version.spec.js" name="should throw when a flattenDependency does not have a version" time="0.001"/>
51
43
  <testcase classname="dist/models/version.spec.js" name="should throw when the log is empty"/>
52
44
  <testcase classname="dist/models/version.spec.js" name="should throw when the log has an invalid type"/>
53
- <testcase classname="dist/models/version.spec.js" name="should throw when the bindingPrefix has an invalid type" time="0.001"/>
45
+ <testcase classname="dist/models/version.spec.js" name="should throw when the bindingPrefix has an invalid type"/>
54
46
  <testcase classname="dist/models/version.spec.js" name="should throw when packageJsonChangedProps tries to override built-in package.json prop"/>
55
- <testcase classname="dist/models/version.spec.js" name="should throw when packageJsonChangedProps is not an object" time="0.001"/>
56
- <testcase classname="dist/models/version.spec.js" name="should throw when packageJsonChangedProps has a non-compliant npm value"/>
47
+ <testcase classname="dist/models/version.spec.js" name="should throw when packageJsonChangedProps is not an object"/>
48
+ <testcase classname="dist/models/version.spec.js" name="should throw when packageJsonChangedProps has a non-compliant npm value" time="0.001"/>
57
49
  <testcase classname="dist/models/version.spec.js" name="should not throw when packageJsonChangedProps has a compliant npm value"/>
58
- <testcase classname="dist/models/version.spec.js" name="should throw when overrides has a &quot;system&quot; field (field that Bit uses internally for consumer overrides)"/>
50
+ <testcase classname="dist/models/version.spec.js" name="should throw when overrides has a &quot;system&quot; field (field that Bit uses internally for consumer overrides)" time="0.001"/>
59
51
  <testcase classname="dist/models/version.spec.js" name="should throw when overrides has a package.json field that is non-compliant npm value"/>
60
52
  <testcase classname="dist/models/version.spec.js" name="should not throw when overrides has a package.json field that is compliant npm value"/>
61
53
  <testcase classname="dist/models/version.spec.js" name="should show the original error from package-json-validator when overrides has a package.json field that is non-compliant npm value"/>
@@ -63,6 +55,14 @@
63
55
  <testcase classname="dist/models/version.spec.js" name="should throw for having relativePaths on any other version other than legacy"/>
64
56
  <testcase classname="dist/models/version.spec.js" name="should not throw for having relativePaths on legacy"/>
65
57
  <testcase classname="dist/models/version.spec.js" name="should throw for having customResolvedPaths on Harmony"/>
66
- <testcase classname="dist/models/version.spec.js" name="should not throw when all is good"/>
58
+ <testcase classname="dist/models/version.spec.js" name="should not throw when all is good" time="0.001"/>
59
+ <testcase classname="dist/objects/scope-index.spec.js" name="should add to the index array"/>
60
+ <testcase classname="dist/objects/scope-index.spec.js" name="should not add the same component multiple times"/>
61
+ <testcase classname="dist/objects/scope-index.spec.js" name="should not add BitObjects that are not Symlink nor ModelComponent"/>
62
+ <testcase classname="dist/objects/scope-index.spec.js" name="should remove from the index array" time="0.001"/>
63
+ <testcase classname="dist/objects/scope-index.spec.js" name="should remove the correct one when there are multiple"/>
64
+ <testcase classname="dist/objects/scope-index.spec.js" name="should remove multiple when removing them at the same removeMany call"/>
65
+ <testcase classname="dist/objects/scope-index.spec.js" name="should remove multiple when removing them with separate removeMany calls" time="0.001"/>
66
+ <testcase classname="dist/objects/scope-index.spec.js" name="should remove multiple when calling them with separate removeMany calls using array.map"/>
67
67
  </testsuite>
68
68
  </testsuites>