Add utilities unit tests
This commit is contained in:
parent
ff7a29dd72
commit
484a72c924
9 changed files with 92 additions and 17 deletions
|
|
@ -15,4 +15,9 @@ test("sanitizeArifactName", (t) => {
|
|||
);
|
||||
});
|
||||
|
||||
// TODO(angelapwen): Test uploadDebugArtifacts if toUpload is empty
|
||||
test("uploadDebugArtifacts", async (t) => {
|
||||
// Test that no error is thrown if artifacts list is empty.
|
||||
await t.notThrowsAsync(
|
||||
debugArtifacts.uploadDebugArtifacts([], "rootDir", "artifactName")
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue