Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trurl-master/jsdom-testing-mocks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.15.2
Choose a base ref
...
head repository: trurl-master/jsdom-testing-mocks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.16.0-beta.0
Choose a head ref
  • 11 commits
  • 64 files changed
  • 3 contributors

Commits on Jul 30, 2025

  1. Configuration menu
    Copy the full SHA
    c5abb0a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #73 from trurl-master/chores/add-claude-permissions

    Add settings.json for Claude permissions configuration
    trurl-master authored Jul 30, 2025
    Configuration menu
    Copy the full SHA
    5e8d618 View commit details
    Browse the repository at this point in the history
  3. feat: Add ScrollTimeline and ViewTimeline API mocks

    - Implement ScrollTimeline class with scroll position calculations
    - Implement ViewTimeline class with IntersectionObserver integration
    - Add comprehensive TypeScript type definitions
    - Include unit tests and environment tests
    - Support multiple scroll axes (block, inline, x, y)
    - Integrate seamlessly with existing Web Animations API
    - Follow established repository patterns and conventions
    
    Resolves #68
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-authored-by: Ivan Galiatin <[email protected]>
    claude[bot] and trurl-master committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    1a9fa72 View commit details
    Browse the repository at this point in the history
  4. fix: Address ScrollTimeline and ViewTimeline issues

    - Add input validation to both ScrollTimeline and ViewTimeline constructors
    - Add public disconnect() method to ViewTimeline to fix memory leak
    - Remove browser tests and replace with comprehensive examples
    - Add validation error tests for both timeline implementations
    - Create scroll-timeline example with real vs mock behavior comparison
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-authored-by: Ivan Galiatin <[email protected]>
    claude[bot] and trurl-master committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    e93a718 View commit details
    Browse the repository at this point in the history
  5. fix: Add missing types import to ViewTimeline.ts

    - Fixes TypeScript compilation error where ViewTimeline interface was not available
    - Required for ViewTimeline class to implement the global ViewTimeline interface
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-authored-by: Ivan Galiatin <[email protected]>
    claude[bot] and trurl-master committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    d61ce5a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d9ea3c1 View commit details
    Browse the repository at this point in the history
  7. fix: Address lint and typecheck issues in ScrollTimeline and ViewTime…

    …line implementation
    
    - Fix currentTime return type in MockedAnimationTimeline to allow number | null
    - Remove unused parameters and fix any types in test files
    - Add disconnect() method to ViewTimeline interface
    - Remove unused #cleanup method from ViewTimeline
    - Fix lint issues with proper type assertions
    
    Co-authored-by: Ivan Galiatin <[email protected]>
    claude[bot] and trurl-master committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    5925abe View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    54546dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    29d34a3 View commit details
    Browse the repository at this point in the history
  10. fix: Resolve typecheck and test framework compatibility issues in Scr…

    …ollTimeline and ViewTimeline
    
    - Fix TypeScript compilation errors with type assertions
    - Replace Jest-specific mocking with framework-agnostic approach in ViewTimeline tests
    - Fix ScrollTimeline environment test Animation integration by adding document.getAnimations mock
    - Fix test expectation for ScrollTimeline null source case (should return 0, not null)
    - Replace all ''any'' types with more specific types to satisfy ESLint rules
    - All test frameworks now pass: Jest, Vitest, and SWC Jest
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Ivan Galiatin <[email protected]>
    claude[bot] and trurl-master committed Jul 30, 2025
    Configuration menu
    Copy the full SHA
    38baf09 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. Manual review

    trurl-master committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    0429a1f View commit details
    Browse the repository at this point in the history
Loading