Skip to content

Commit

Permalink
unit tests for middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamero committed Feb 28, 2025
1 parent f160c4e commit 2530d9e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/middleware_test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import {
RequestContext,
ResponseContext,
ConfigurationOptions,
Middleware,
HttpMethod,
} from './gen/index.js';
import { deepStrictEqual, ok, rejects, strictEqual } from 'node:assert';
import { RequestContext, ConfigurationOptions, HttpMethod } from './gen/index.js';
import { deepStrictEqual } from 'node:assert';
import { setHeaderMiddleware, setHeaderOptions } from './middleware.js';
import { PromiseMiddleware } from './gen/middleware.js';

Expand Down

0 comments on commit 2530d9e

Please sign in to comment.