Skip to content

Commit

Permalink
chore: apply automated lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored May 2, 2024
1 parent ea909dd commit 80c3c77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe("server", () => {
it("basic", async () => {
const storage = createStorage();
const storageServer = createStorageServer(storage, {
authorize (req) {
authorize(req) {
if (req.type === "read" && req.key.startsWith("private:")) {
throw new Error("Unauthorized Read");
}
Expand Down Expand Up @@ -78,8 +78,8 @@ describe("server", () => {
method: "PUT",
body: file,
headers: {
'content-type': 'application/octet-stream'
}
"content-type": "application/octet-stream",
},
});
const storedFileNode = await readFile("./test/fs-storage/1.png");
const storedFileFetch = await readFile("./test/fs-storage/2.png");
Expand Down

0 comments on commit 80c3c77

Please sign in to comment.