Commit ffca3ea
Retarget attribution integration test imports to @quarto/preview-renderer
Two PR-#190 integration tests imported the framework + previewRegistry
via relative paths that were valid before the ts-packages reorg:
- q2-debug/attribution.integration.test.tsx — `Ast` from `'../framework'`
- q2-preview/attribution.integration.test.tsx — same, plus
`previewRegistry` from `'./registry'`
Both paths point at locations the feature branch moved into
ts-packages/preview-renderer. The standalone `tsc --noEmit` runs and
`cargo xtask verify --skip-hub-tests` missed it because
`vitest.integration.config.ts` only picks these files up via
`test:integration` / `test:ci`. CI surfaced it on PR #214 (q2-debug +
q2-preview attribution test files: 2 failed, 6 passed).
Retarget both:
- `Ast` → `@quarto/preview-renderer/framework`
- `previewRegistry` → `@quarto/preview-renderer/q2-preview`
`q2DebugRegistry` stays on its relative `./registry` import — q2-debug
itself didn't move with the framework extraction.
Full `cargo xtask verify` (including `test:integration` + `test:ci`)
now green locally; the hub-client suite reports 66 integration tests
and 79 CI tests passing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2a18272 commit ffca3ea
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- hub-client/src/components/render
- q2-debug
- q2-preview
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments