Skip to content

Commit a7f3c64

Browse files
committed
Update test to check base ref/sha values
1 parent 087e7a3 commit a7f3c64

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/upload-lib.test.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/upload-lib.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/upload-lib.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ test("validate correct payload used per version", async (t) => {
7373
version,
7474
"actions"
7575
);
76-
t.truthy(payload.base_ref);
77-
t.truthy(payload.base_sha);
76+
t.deepEqual(payload.base_ref, "master");
77+
t.deepEqual(payload.base_sha, "f95f852bd8fca8fcc58a9a2d6c842781e32a215e");
7878
}
7979

8080
for (const version of oldVersions) {

0 commit comments

Comments
 (0)