Skip to content

Commit 49f4f55

Browse files
committed
fix: lint
1 parent 5e1a46f commit 49f4f55

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/miniflare/src/workers/kv/namespace.worker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
validatePutOptions,
2323
} from "./validator.worker";
2424

25-
const MAX_BULK_LENGTH = 100 * 1024 * 1024;
2625
interface KVParams {
2726
key: string;
2827
}

packages/miniflare/test/test-shared/miniflare.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function namespace<T>(ns: string, binding: T): Namespaced<T> {
4545
if (result instanceof Promise) {
4646
return result.then((res) => {
4747
if (res instanceof Map) {
48-
let newResult = new Map<string, unknown>();
48+
const newResult = new Map<string, unknown>();
4949
for (const [key, value] of res) {
5050
newResult.set(key.slice(ns.length), value);
5151
}
@@ -70,8 +70,6 @@ export function namespace<T>(ns: string, binding: T): Namespaced<T> {
7070
});
7171
}
7272

73-
74-
7573
export function miniflareTest<
7674
Env,
7775
Context extends MiniflareTestContext = MiniflareTestContext,

0 commit comments

Comments
 (0)