Conversation
…ctives from test components
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (4)
📝 WalkthroughWalkthroughFour test files in the svelte-query-persist-client package have been updated to remove a Svelte compiler suppression directive ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit f0a47b9
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Removes
// svelte-ignore state_snapshot_uncloneabledirectives from four test components insvelte-query-persist-client/tests/. These directives no longer suppress any warning — the referencedstate_snapshot_uncloneablewarning is not triggered by the current code, sosvelte/no-unused-svelte-ignoreflags them as errors when thetests/directory is linted.Files
tests/FreshData/FreshData.sveltetests/InitialData/InitialData.sveltetests/RestoreCache/RestoreCache.sveltetests/UseQueries/UseQueries.svelteWhy this PR exists
These files live in
tests/, which is currently outside thetest:eslintscript scope (scoped to./srconly). That's why these dead suppressions have been sitting there unnoticed.This PR lands first as a prerequisite for a follow-up PR that widens the lint scope to include
./testsfor bothsvelte-queryandsvelte-query-persist-client.Verification
pnpm exec eslint ./testson the package: 0 errors, 0 warningspnpm run test:lib: 7 tests pass, nostate_snapshot_uncloneablewarnings emitted at runtime (confirming the directives were genuinely dead)✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit