repository-provider-test-support 2.2.34 → 2.2.36

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,10 +1,9 @@
1
1
  {
2
2
  "name": "repository-provider-test-support",
3
- "version": "2.2.34",
3
+ "version": "2.2.36",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "sideEffects": false,
8
7
  "exports": {
9
8
  ".": "./src/module.mjs"
10
9
  },
@@ -28,13 +27,13 @@
28
27
  "lint:docs": "documentation lint ./src/**/*.mjs"
29
28
  },
30
29
  "dependencies": {
31
- "content-entry": "^5.2.16"
30
+ "content-entry": "^6.0.0"
32
31
  },
33
32
  "devDependencies": {
34
- "ava": "^5.1.0",
33
+ "ava": "^5.1.1",
35
34
  "c8": "^7.12.0",
36
35
  "documentation": "^14.0.1",
37
- "repository-provider": "^32.6.1",
36
+ "repository-provider": "^32.6.2",
38
37
  "semantic-release": "^20.0.2"
39
38
  },
40
39
  "engines": {
@@ -86,10 +86,12 @@ export async function pullRequestList(t, provider, repoName) {
86
86
 
87
87
  let numberOfSources = 0;
88
88
 
89
+ const source = sources[0];
90
+
89
91
  for await (const pr of repository.pullRequestClass.list(repository, {
90
- source: sources[0]
92
+ source
91
93
  })) {
92
- t.is(pr.source, sources[0], "source");
94
+ t.is(pr.source, source, `source: ${source.fullName}`);
93
95
  t.is(pr.destination, destination, `destination: ${destination.fullName}`);
94
96
  t.is(pr.title, "test pr from pr-test/source-1", "title");
95
97
  t.false(pr.locked, "locked");