Skip to content

Commit c0b9ce8

Browse files
committed
chore: drop stray eslint-disable/import edits in unrelated import tests
Three test files unrelated to interceptors were swept into the feature commit by an editor autofix: - import-gateway-targets.test.ts (resolved during rebase by taking main's #1437 rewrite) - import-gateway-spec.test.ts (restored: main keeps the eslint-disable guarding the (gw as any) cast; dropping it would fail lint) - resolve-ui-dist-dir.test.ts (restored: main keeps the split node:fs imports) None relate to Lambda interceptors; reverting to match origin/main.
1 parent bacd16d commit c0b9ce8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/cli/commands/import/__tests__/import-gateway-spec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ describe('toGatewaySpec – authorizer type mapping', () => {
141141
it('missing authorizerType: defaults to NONE', () => {
142142
const gw = makeGateway();
143143
// Simulate undefined authorizerType by deleting after construction
144-
144+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
145145
delete (gw as any).authorizerType;
146146
const result = toGatewaySpec(gw, emptyTargets, 'my_gw');
147147

src/cli/operations/dev/web-ui/__tests__/resolve-ui-dist-dir.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { resolveUIDistDir } from '../web-server.js';
2-
import fs, { mkdtempSync, rmSync, writeFileSync } from 'node:fs';
2+
import fs from 'node:fs';
3+
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs';
34
import { tmpdir } from 'node:os';
45
import { join } from 'node:path';
56
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';

0 commit comments

Comments
 (0)