repository-provider-test-support 2.1.13 → 2.1.14

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": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,20 +21,19 @@ export async function repositoryLivecycleTest(
21
21
  assert = async (t, repository) => {}
22
22
  ) {
23
23
  t.truthy(provider, "provider is present");
24
- const group = await provider.repositoryGroup(groupName);
25
24
 
26
- t.log("group found");
25
+ const group = await provider.repositoryGroup(groupName);
26
+ t.truthy(group, "group found");
27
27
 
28
28
  let repo = await group.repository(repoName);
29
29
  if (repo) {
30
30
  await repo.delete();
31
+ t.log("repo cleared");
31
32
  }
32
33
 
33
- t.log("repo cleared");
34
-
35
34
  repo = await group.createRepository(repoName, options);
36
35
 
37
- t.log("repo created");
36
+ t.truthy(repo, "repo created");
38
37
 
39
38
  t.is(repo.name, repoName, "repository name");
40
39