Skip to content

Commit

Permalink
patch: extract business logic out of context module (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Sep 13, 2020
1 parent 870dd86 commit d7db9c3
Show file tree
Hide file tree
Showing 34 changed files with 825 additions and 962 deletions.
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ packages/
├── vest/ # Main Vest package.
│ ├── src/ # Vest's prebuilt source code.
│ │ └── core/ # Modules required for vest's functionality.
│ │ │ └── Context/ # Vest's shared runtime. Used across the whole library.
│ │ │ └── context/ # Vest's shared runtime. Used across the whole library.
│ │ │ └── produce/ # Generates the out put object and callbaks.
│ │ │ └── state/ # Vest's persistent state. Used across the whole library.
│ │ │ └── test/ # Contains the test function and its lifecycle.
│ │ │ └── suite/ # Contains all the suite modules and methods
│ │ │ └── create/ # Initializes the suite and creates a context and state.
│ │ │ └── validate/ # Creates and runs a stateless suite.
│ │ └── hooks/ # Functions that extend vest's functionality. They all use Context.
│ │ └── hooks/ # Functions that extend vest's functionality. They all use context.
│ │ │ └── draft/ # Allows access to the intermediate test result.
│ │ │ └── exclusive/ # Allows including or excluding fields in runtime.
│ │ │ └── warn/ # Allows setting warn-only fields.
Expand All @@ -47,10 +47,10 @@ packages/
│ │ └── testUtils/ # Test helper functions.
│ │ └── typings/ # Contains typescript declaration files for the exported modules.
│ │ └── utilities/ # Single file exported modules.
│ │ └── any/
│ │ └── enforceExtended/
│ │ └── classNames/
│ │ └── promisify/
│ │ └── any/
│ │ └── enforceExtended/
│ │ └── classNames/
│ │ └── promisify/
├── eslint-plugin-vest/ # Eslint plugin with vest specific rules
│ ├── lib/ # Contains all rules
├── n4s/ # Assertion library used by vest
Expand Down
22 changes: 0 additions & 22 deletions packages/vest/src/core/Context/__snapshots__/spec.js.snap

This file was deleted.

120 changes: 0 additions & 120 deletions packages/vest/src/core/Context/index.js

This file was deleted.

Loading

0 comments on commit d7db9c3

Please sign in to comment.