repository-provider-test-support 1.12.2 → 1.12.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider-test-support",
3
- "version": "1.12.2",
3
+ "version": "1.12.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,13 +28,13 @@
28
28
  "lint:docs": "documentation lint ./src/**/*.mjs"
29
29
  },
30
30
  "dependencies": {
31
- "content-entry": "^4.1.4"
31
+ "content-entry": "^4.1.5"
32
32
  },
33
33
  "devDependencies": {
34
34
  "ava": "^4.0.1",
35
35
  "c8": "^7.11.0",
36
36
  "documentation": "^13.2.5",
37
- "repository-provider": "^26.7.0",
37
+ "repository-provider": "^26.7.5",
38
38
  "semantic-release": "^19.0.2"
39
39
  },
40
40
  "engines": {
@@ -78,7 +78,7 @@ export async function pullRequestList(t, provider, repoName) {
78
78
  })
79
79
  );
80
80
 
81
- let numberOfSources0 = 0;
81
+ let numberOfSources = 0;
82
82
 
83
83
  for await (const pr of repository.pullRequestClass.list(repository, {
84
84
  source: sources[0]
@@ -88,10 +88,10 @@ export async function pullRequestList(t, provider, repoName) {
88
88
  t.is(pr.title, "test pr from pr-test/source-1", "title");
89
89
  t.false(pr.locked, "locked");
90
90
 
91
- numberOfSources0++;
91
+ numberOfSources++;
92
92
  }
93
93
 
94
- t.is(numberOfSources0, 1);
94
+ t.is(numberOfSources, 1);
95
95
 
96
96
  const prs = [];
97
97
 
@@ -12,8 +12,8 @@ export async function ownerTypeLookupTest(t, type, owner, name, expected) {
12
12
  if (expected === undefined) {
13
13
  t.is(item, undefined);
14
14
  } else {
15
- t.truthy(item);
16
- t.is(item.fullName, expected);
15
+ t.truthy(item, `${type} is present`);
16
+ t.is(item.fullName, expected, `fullName of ${type}`);
17
17
  }
18
18
  }
19
19