Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Secreto31126 committed Dec 19, 2024
1 parent e8af748 commit 05f639a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Unit tests with mocha and sinon
import { equal, throws, rejects, deepEqual } from "assert";
import { spy as sinon_spy, assert as sinon_assert } from "sinon";
import { describe, it, beforeEach, afterEach } from 'node:test';
import { describe, it, beforeEach, afterEach } from "node:test";

// Import the module
import { WhatsAppAPI } from "../lib/esm/middleware/node-http.js";
Expand Down Expand Up @@ -102,7 +102,7 @@ describe("WhatsAppAPI", () => {

describe("Ponyfill", () => {
describe("Fetch", () => {
it("should default to the enviroment fetch (skip if not defined)", t => {
it("should default to the enviroment fetch (skip if not defined)", (t) => {
if (typeof fetch === "undefined") {
t.skip();
return;
Expand Down Expand Up @@ -137,7 +137,7 @@ describe("WhatsAppAPI", () => {
});

describe("CryptoSubtle", () => {
it("should default to the enviroment crypto.subtle (skip if not defined)", t => {
it("should default to the enviroment crypto.subtle (skip if not defined)", (t) => {
if (
typeof crypto === "undefined" ||
typeof crypto.subtle === "undefined"
Expand Down

0 comments on commit 05f639a

Please sign in to comment.