Skip to content

Commit

Permalink
apply deno fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
erfanium committed Mar 24, 2024
1 parent 491df1f commit 27867df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Deno.test("Sample Test", async () => {
const { url, init } = await fetchMock.promise;
assertEquals(
url,
"https://data.mongodb-api.com/app/data-abc/endpoint/data/v1/action/insertOne"
"https://data.mongodb-api.com/app/data-abc/endpoint/data/v1/action/insertOne",
);
assertEquals(init.method, "POST");
assertEquals(
new Headers(init.headers).get("Content-Type"),
"application/ejson"
"application/ejson",
);
assertEquals(new Headers(init.headers).get("api-key"), "API_KEY");
assertEquals(await new Request(url, init).json(), {
Expand Down

0 comments on commit 27867df

Please sign in to comment.