-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Review architecture and add tests (#12)
* Change name to allow testing * Remove all local var from collection * Remove all local var from sources * Remove all local var from specific sources * Use parameters for config in sources * Review collection source and fix tests * Changes for config * Fix collection tests * doc: Add information about tests * Add some test for main package * Remove useless printed variables * Working test for HomeHandler! * Use mock for everything * Create a TinShop struct * Remove some globals * Remove latest global var * Handle duplicate in collection * Add test for world entry point * Update to ginkgo v2 * Use DescribeTable of ginkgo v2! * Finally first row of tests for middleware! * Cleaner use for Expect * Finished test for Tinfoil Middleware
- Loading branch information
Showing
34 changed files
with
1,580 additions
and
321 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.