Skip to content

Commit 27be195

Browse files
committed
refactor(ts-plugin): split go-to-definition e2e tests into per-behavior cases
Each test now owns a minimal fixture and asserts a single behavior, replacing the previous setup where 17 cases shared a single large fixture inside one test.each block. Adds: - setupFixture in e2e-test/test-util/fixture.ts, with getLoc / getRange for string-based position lookup; the API mirrors createIFF and accepts files directly (including tsconfig.json), so each test controls its own config placement. - importStyles helper in the same module for building default / namespace import statements at call sites instead of inside describe.each. - fakeTSConfigJSON in packages/ts-plugin/test/faker.ts (defaults cmkOptions.enabled to true) for terse tsconfig.json fixture construction.
1 parent 8c7df39 commit 27be195

3 files changed

Lines changed: 589 additions & 303 deletions

File tree

0 commit comments

Comments
 (0)