Repository navigation
test(mascot): one e2e file, one solid browser file, one unit file - #636
Merged
Merged
Conversation
Fold the 14 Playwright files into tests/e2e/mascot.it.test.ts (one test.describe per old file) and the four e2e helpers into tests/e2e/helpers.ts. Fold packed-install and publish-surface into tests/unit/mascot.test.ts, and solid-dist plus solid-wrapper into tests/browser/solid-mascot.browser.test.tsx. Delete the pure-logic node tests curve.test.ts and path.test.ts, covered by the curve and emitter scale e2e describes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test consolidation, wave 2d (mascot). Part of the lane that takes the repo from 707 test files to 69.
packages/mascot:tests/e2e/mascot.it.test.ts, onetest.describeper old file; per-filetest.use(curve viewport, reduced-motion context) moves inside its describe. 102 cases before and after.tests/e2e/helpers.ts; the helpers README moves up and names describes instead of files.solid-distandsolid-wrapperbrowser tests fold intotests/browser/solid-mascot.browser.test.tsx(distMascotaliased asDistMascot; a duplicate localpartsIndropped in favour of the shared one inmascot-dom.ts). The React wrapper file stays separate (different JSX transform). 21 cases before and after.packed-installandpublish-surfacefold intotests/unit/mascot.test.ts(45 cases). Deletedcurve.test.tsandpath.test.ts(17 pure-logic cases; the curve and emitter-scale e2e describes cover the rendered behaviour).tests/browser/__screenshots__: failure screenshots committed in feat(mascot): componentized mascot — core service, solid/react wrappers, 16 effects, consumer migrations #490 that no test reads.Bodies moved verbatim. No
src/edits, no config edits (existing vitest and Playwright includes already match).Gates:
turbo run test --filter=@conciv/mascotgreen (vitest 89/89, Playwright 102/102 headless), tsc, oxlint, oxfmt, fallow audit (only moved-test notes). No changeset needed.🤖 Generated with Claude Code