Skip to content

Commit

Permalink
Remove Unnecessary Change
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Jan 4, 2024
1 parent 9909c60 commit efc3fe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uploader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe("pinata", () => {
it("throws error when pinataKey is empty", async () => {
await expect(
uploader.upload({ ...options, path: "./data", service: "pinata" })
).rejects.toThrow("[pinata] API Key is empty");
).rejects.toThrow("[pinata] Key is empty. (input `pinataKey`)");
});

it("throws error when pinataSecret is empty", async () => {
Expand All @@ -58,7 +58,7 @@ describe("filebase", () => {
it("throws error when filebaseKey is empty", async () => {
await expect(
uploader.upload({ ...options, path: "./data", service: "filebase" })
).rejects.toThrow("filebaseKey is empty");
).rejects.toThrow("[filebase] Key is empty. (input `filebaseKey`)");
});

it("throws error when filebaseSecret is empty", async () => {
Expand All @@ -69,6 +69,6 @@ describe("filebase", () => {
service: "filebase",
filebaseKey: ".",
})
).rejects.toThrow("filebaseSecret is empty");
).rejects.toThrow("[filebase] Secret is empty. (input `filebaseSecret`)");
});
});

0 comments on commit efc3fe2

Please sign in to comment.