mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 20:44:31 +00:00
chore: Enable typescript/no-explicit-any rule.
This commit is contained in:
@@ -51,12 +51,11 @@ describe("browser server-context ensureTabAvailable", () => {
|
||||
} as unknown as Response;
|
||||
});
|
||||
|
||||
// @ts-expect-error test override
|
||||
global.fetch = fetchMock;
|
||||
|
||||
const state: BrowserServerState = {
|
||||
// unused in these tests
|
||||
// biome-ignore lint/suspicious/noExplicitAny: test stub
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
server: null as any,
|
||||
port: 0,
|
||||
resolved: {
|
||||
@@ -113,11 +112,10 @@ describe("browser server-context ensureTabAvailable", () => {
|
||||
return { ok: true, json: async () => next } as unknown as Response;
|
||||
});
|
||||
|
||||
// @ts-expect-error test override
|
||||
global.fetch = fetchMock;
|
||||
|
||||
const state: BrowserServerState = {
|
||||
// biome-ignore lint/suspicious/noExplicitAny: test stub
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
server: null as any,
|
||||
port: 0,
|
||||
resolved: {
|
||||
@@ -164,11 +162,11 @@ describe("browser server-context ensureTabAvailable", () => {
|
||||
}
|
||||
return { ok: true, json: async () => next } as unknown as Response;
|
||||
});
|
||||
// @ts-expect-error test override
|
||||
|
||||
global.fetch = fetchMock;
|
||||
|
||||
const state: BrowserServerState = {
|
||||
// biome-ignore lint/suspicious/noExplicitAny: test stub
|
||||
// oxlint-disable-next-line typescript/no-explicit-any
|
||||
server: null as any,
|
||||
port: 0,
|
||||
resolved: {
|
||||
|
||||
Reference in New Issue
Block a user