Skip to content

Instantly share code, notes, and snippets.

@mroderick
Created February 20, 2020 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mroderick/8a6705c26a11431294633c994557983d to your computer and use it in GitHub Desktop.
Save mroderick/8a6705c26a11431294633c994557983d to your computer and use it in GitHub Desktop.
Sinon library inter-dependencies

Sinon library inter-dependencies

These diagrams show how the Sinon family of libraries depend on each other. devDependencies are omitted, as they can be considering "internal", and shouldn't be installed by end users of sinon or referee

Sinon

┌────────────────────────┐                                                                                               
│    @sinonjs/commons    │◀──────────────────────────────────────────────────┐                                           
└────────────────────────┘                                                   │                                           
    ▲        ▲       ▲                                                       │                                           
    │        │       │                                                       │                                           
    │        │       │                                                       │                                           
    │        │       │                                                       │                                           
    │        │       │       ┌────────────────────────┐         ┌────────────────────────┐     ┌────────────────────────┐
    │        │       └───────│  @sinonjs/fake-timers  │◀────────│          nise          │────▶│ @sinonjs/text-encoding │
    │        │               └────────────────────────┘         └────────────────────────┘     └────────────────────────┘
    │        │                            ▲                          ▲       │                                           
    │        │                            │                          │       │                                           
    │        │                            │                          │       │                                           
    │        │                            │                          │       │                                           
    │        │                ┌──────────────────────┐               │       │                                           
    │        └────────────────│                      │               │       │                                           
    │                         │        Sinon         │───────────────┘       │                                           
    │        ┌────────────────│                      │                       │                                           
    │        │                └──────────────────────┘                       │                                           
    │        │                                    │                          │                                           
    │        │                                    │                          │                                           
    │        │                                    │                          │                                           
    │        │                                    │                          │                                           
    │        │                                    │                          │                                           
    │        │       ┌────────────────────┐       │                          │                                           
    │        │       │                    │       │                          │                                           
    │        ▼       ▼                    │       ▼                          │                                           
┌────────────────────────┐    ┌──────────────────────┐                       │                                           
│    @sinonjs/samsam     │    │  @sinonjs/formatio   │◀──────────────────────┘                                           
└────────────────────────┘    └──────────────────────┘                                                                   
                     │                    ▲                                                                              
                     │                    │                                                                              
                     └────────────────────┘                                                                              

Referee

┌────────────────────────┐                            
│    @sinonjs/commons    │                            
└────────────────────────┘                            
    ▲        ▲                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                                        
    │        │                ┌──────────────────────┐
    │        └────────────────│                      │
    │                         │       Referee        │
    │        ┌────────────────│                      │
    │        │                └──────────────────────┘
    │        │                                    │   
    │        │                                    │   
    │        │                                    │   
    │        │                                    │   
    │        │                                    │   
    │        │       ┌────────────────────┐       │   
    │        │       │                    │       │   
    │        ▼       ▼                    │       ▼   
┌────────────────────────┐    ┌──────────────────────┐
│    @sinonjs/samsam     │    │  @sinonjs/formatio   │
└────────────────────────┘    └──────────────────────┘
                     │                    ▲           
                     │                    │           
                     └────────────────────┘           
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment