-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from fahamutech/test_refactor_and_structure
Test refactor and structure
- Loading branch information
Showing
122 changed files
with
7,949 additions
and
17,573 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ module.exports = { | |
bail: true, | ||
timeout: 2000, | ||
recursive: true, | ||
require: 'specs/hook.mjs' | ||
require: 'hooks.mjs' | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1 @@ | ||
## Get stated | ||
This repository use mongodb as a database engine so you need to have it localy | ||
even though it spin its own in memory latest mongodb when run test ( test for ubuntu & debian OS & Chrome OS ). In chrome os you need to install mongodb in your machine and update this file [config-mock](./specs/mock.config.js). That file contain more configuration for tests. | ||
|
||
NOTE: Your mongo instance must be in Replica mode fot transactions and stream changes tests to work. | ||
|
||
## Contribute | ||
|
||
1. Clone repository | ||
2. run `yarn install` | ||
3. run `yarn test` to runn all tests | ||
4. Add new features write its test and run `yarn test` or `npx mocha specs/<path-to-your-test-file>` |
This file was deleted.
Oops, something went wrong.
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.