Skip to content

Commit

Permalink
Add unit test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Angela P Wen committed Aug 1, 2022
1 parent 5da7870 commit 5229df1
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/actions-util.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/actions-util.test.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lib/analyze-action-cleanup.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/analyze-action-cleanup.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/init-action-cleanup.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/init-action-cleanup.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions lib/util.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/util.test.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/actions-util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,3 +763,5 @@ test("sanitizeArifactName", (t) => {
"manyinvalid"
);
});

// TODO(angelapwen): Test uploadDebugArtifacts if toUpload is empty
1 change: 1 addition & 0 deletions src/analyze-action-cleanup.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// TODO(angelapwen): Test run() here
1 change: 1 addition & 0 deletions src/init-action-cleanup.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// TODO(angelapwen): Test run() here.
12 changes: 12 additions & 0 deletions src/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,15 @@ for (const [
isActionsStub.restore();
});
}

// TODO(angelapwen): Test doesDirectoryExist() returns true if directory

// TODO(angelapwen): Test doesDirectoryExist() returns false if file

// TODO(angelapwen): Test doesDirectoryExist() returns false if no file of this type exists

// TODO(angelapwen): Test listFolder() returns files in directory

// TODO(angelapwen): Test listFolder() returns empty if not a directory

// TODO(angelapwen): Test doesDirectoryExist() returns empty if directory is empty

0 comments on commit 5229df1

Please sign in to comment.