Skip to content

Commit

Permalink
Update test to check base ref/sha values
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Neatherway committed Jan 13, 2021
1 parent 087e7a3 commit a7f3c64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/upload-lib.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/upload-lib.test.js.map

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

4 changes: 2 additions & 2 deletions src/upload-lib.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ test("validate correct payload used per version", async (t) => {
version,
"actions"
);
t.truthy(payload.base_ref);
t.truthy(payload.base_sha);
t.deepEqual(payload.base_ref, "master");
t.deepEqual(payload.base_sha, "f95f852bd8fca8fcc58a9a2d6c842781e32a215e");
}

for (const version of oldVersions) {
Expand Down

0 comments on commit a7f3c64

Please sign in to comment.