repository-provider-test-support 3.1.20 → 3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider-test-support",
3
- "version": "3.1.20",
3
+ "version": "3.1.22",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -42,7 +42,7 @@
42
42
  "ava": "^6.3.0",
43
43
  "c8": "^10.1.3",
44
44
  "documentation": "^14.0.3",
45
- "repository-provider": "^35.3.11",
45
+ "repository-provider": "^35.4.0",
46
46
  "semantic-release": "^24.2.3",
47
47
  "typescript": "^5.8.3"
48
48
  },
package/src/module.mjs CHANGED
@@ -121,7 +121,7 @@ export async function assertCommit(t, repository, entryName = "README.md") {
121
121
  const branch = await repository.createBranch(branchName);
122
122
  try {
123
123
  const commit = await branch.commit("message text", [
124
- new StringContentEntry(entryName, `file content #${branchName}`)
124
+ new StringContentEntry(entryName, undefined, `file content #${branchName}`)
125
125
  ]);
126
126
 
127
127
  t.truthy(commit, "commit present");
@@ -13,7 +13,7 @@ export async function pullRequestLivecycle(t, provider, repoName) {
13
13
  const source = await destination.createBranch(name);
14
14
 
15
15
  const commit = await source.commit("message text", [
16
- new StringContentEntry("README.md", `file content #${name}`)
16
+ new StringContentEntry("README.md", undefined, `file content #${name}`)
17
17
  ]);
18
18
 
19
19
  const pr = await repository.pullRequestClass.open(source, destination, {
@@ -69,7 +69,7 @@ export async function pullRequestList(t, provider, repoName) {
69
69
  ["pr-test/source-1", "pr-test/source-2"].map(async bn => {
70
70
  const branch = await repository.createBranch(bn);
71
71
  const commit = await branch.commit("message text", [
72
- new StringContentEntry("README.md", `file content #${bn}`)
72
+ new StringContentEntry("README.md", undefined, `file content #${bn}`)
73
73
  ]);
74
74
 
75
75
  try {