Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Dec 6, 2024
1 parent ce503e5 commit 11ccc37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 46 deletions.
7 changes: 3 additions & 4 deletions library/sources/Hono.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import { isLocalhostIP } from "../helpers/isLocalhostIP";
import { createTestAgent } from "../helpers/createTestAgent";
import { addHonoMiddleware } from "../middleware/hono";
import * as fetch from "../helpers/fetch";
import {
contextStorage as honoContextStorage,
getContext as getHonoContext,
} from "hono/context-storage";

wrap(fetch, "fetch", function mock(original) {
return async function mock(this: typeof fetch) {
Expand Down Expand Up @@ -74,6 +70,9 @@ type Env = {

function getApp() {
const { Hono } = require("hono") as typeof import("hono");
const { contextStorage: honoContextStorage, getContext: getHonoContext } =
require("hono/context-storage") as typeof import("hono/context-storage");

const app = new Hono<Env>();

app.use(honoContextStorage());
Expand Down
3 changes: 1 addition & 2 deletions library/sources/graphql/extractInputsFromDocument.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ import {
GraphQLInt,
GraphQLInputObjectType,
GraphQLID,
visit as visitFn,
} from "graphql";
import { extractInputsFromDocument } from "./extractInputsFromDocument";

import { visit as visitFn } from "graphql";

const AddressType = new GraphQLObjectType({
name: "Address",
fields: {
Expand Down
40 changes: 0 additions & 40 deletions library/sources/koa/wrapRouterMiddleware.ts

This file was deleted.

0 comments on commit 11ccc37

Please sign in to comment.