Add unit test descriptions

This commit is contained in:
Angela P Wen 2022-08-01 13:17:40 +02:00
parent 5da7870265
commit 5229df1eef
12 changed files with 33 additions and 2 deletions

View file

@ -503,4 +503,5 @@ on: ["push"]
t.deepEqual(actionsutil.sanitizeArifactName("hello===123"), "hello123");
t.deepEqual(actionsutil.sanitizeArifactName("*m)a&n^y%i££n+v!a:l[i]d"), "manyinvalid");
});
// TODO(angelapwen): Test uploadDebugArtifacts if toUpload is empty
//# sourceMappingURL=actions-util.test.js.map

File diff suppressed because one or more lines are too long

3
lib/analyze-action-cleanup.test.js generated Normal file
View file

@ -0,0 +1,3 @@
"use strict";
// TODO(angelapwen): Test run() here
//# sourceMappingURL=analyze-action-cleanup.test.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"analyze-action-cleanup.test.js","sourceRoot":"","sources":["../src/analyze-action-cleanup.test.ts"],"names":[],"mappings":";AAAA,oCAAoC"}

3
lib/init-action-cleanup.test.js generated Normal file
View file

@ -0,0 +1,3 @@
"use strict";
// TODO(angelapwen): Test run() here.
//# sourceMappingURL=init-action-cleanup.test.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"init-action-cleanup.test.js","sourceRoot":"","sources":["../src/init-action-cleanup.test.ts"],"names":[],"mappings":";AAAA,qCAAqC"}

6
lib/util.test.js generated
View file

@ -315,4 +315,10 @@ for (const [version, githubVersion, shouldReportWarning,] of CHECK_ACTION_VERSIO
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
//# sourceMappingURL=util.test.js.map

File diff suppressed because one or more lines are too long

View file

@ -763,3 +763,5 @@ test("sanitizeArifactName", (t) => {
"manyinvalid"
);
});
// TODO(angelapwen): Test uploadDebugArtifacts if toUpload is empty

View file

@ -0,0 +1 @@
// TODO(angelapwen): Test run() here

View file

@ -0,0 +1 @@
// TODO(angelapwen): Test run() here.

View file

@ -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