Skip to content

Commit d6849da

Browse files
Copilotfgreinacher
andcommitted
Fix failing tests: adjust test directory path and revert unrelated test changes
Co-authored-by: fgreinacher <[email protected]>
1 parent 57feadd commit d6849da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/glob-assets.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ test("Expand directories", async (t) => {
191191

192192
t.deepEqual(
193193
sortAssets(globbedAssets),
194-
sortAssets(["dir", "dir/upload_other.txt", "dir/upload.txt", "dir/.dotfile", "dir/file.css", "dir/versioned", "dir/versioned/upload_v1.0.0.txt"])
194+
sortAssets(["dir", "dir/upload_other.txt", "dir/upload.txt", "dir/.dotfile", "dir/file.css"])
195195
);
196196
});
197197

test/publish.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ test.serial("Publish a release with error response", async (t) => {
714714
});
715715

716716
test.serial("Publish a release with templated wildcard path", async (t) => {
717-
const cwd = "test/fixtures/files";
717+
const cwd = "test/fixtures";
718718
const owner = "test_user";
719719
const repo = "test_repo";
720720
const env = { GITLAB_TOKEN: "gitlab_token" };

0 commit comments

Comments
 (0)