Add unit test descriptions
This commit is contained in:
parent
5da7870265
commit
5229df1eef
12 changed files with 33 additions and 2 deletions
1
lib/actions-util.test.js
generated
1
lib/actions-util.test.js
generated
|
|
@ -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
3
lib/analyze-action-cleanup.test.js
generated
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
"use strict";
|
||||
// TODO(angelapwen): Test run() here
|
||||
//# sourceMappingURL=analyze-action-cleanup.test.js.map
|
||||
1
lib/analyze-action-cleanup.test.js.map
Normal file
1
lib/analyze-action-cleanup.test.js.map
Normal 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
3
lib/init-action-cleanup.test.js
generated
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
"use strict";
|
||||
// TODO(angelapwen): Test run() here.
|
||||
//# sourceMappingURL=init-action-cleanup.test.js.map
|
||||
1
lib/init-action-cleanup.test.js.map
Normal file
1
lib/init-action-cleanup.test.js.map
Normal 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
6
lib/util.test.js
generated
|
|
@ -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
|
|
@ -763,3 +763,5 @@ test("sanitizeArifactName", (t) => {
|
|||
"manyinvalid"
|
||||
);
|
||||
});
|
||||
|
||||
// TODO(angelapwen): Test uploadDebugArtifacts if toUpload is empty
|
||||
|
|
|
|||
1
src/analyze-action-cleanup.test.ts
Normal file
1
src/analyze-action-cleanup.test.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
// TODO(angelapwen): Test run() here
|
||||
1
src/init-action-cleanup.test.ts
Normal file
1
src/init-action-cleanup.test.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
// TODO(angelapwen): Test run() here.
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue