Skip to content

Commit

Permalink
Merge branch 'master' of github.com:reactioncommerce/data-factory
Browse files Browse the repository at this point in the history
  • Loading branch information
nnnnat committed Jun 1, 2018
2 parents 4f75072 + b2f14e9 commit 38fef9a
Show file tree
Hide file tree
Showing 6 changed files with 1,953 additions and 51 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

- run: npm install
- run: npm run lint
- run: npm run test

- save_cache:
paths:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Data Factory

_**Note:** This project is a work in progress and should not be used in production at this time._

Reaction Data Factory creates a simple fixture factory from [SimpleSchema](https://github.com/aldeed/simple-schema-js) definitions for testing and seeding Reaction Commerce applications.
Reaction Data Factory creates a simple fixture factory from [SimpleSchema](https://github.com/aldeed/simple-schema-js) definitions for testing and seeding applications.

## Install

Expand Down Expand Up @@ -50,3 +48,6 @@ const mockExamples = Factory.Example.makeMany(3, { _id: (i) => (i + 100).toStrin
// mockExamples output
// [{ _id: "100", strProp: "mockStrProp", boolProp: true }, { _id: "101", strProp: "mockStrProp", boolProp: false }], { _id: "102", strProp: "mockStrProp", boolProp: false }]
```

## Thanks
Thanks to [@MaxGuitet](https://github.com/MaxGuitet) and the team at [Cambridge Software](https://github.com/CambridgeSoftwareLtd) for their work on [simpl-schema-mockdoc](https://github.com/CambridgeSoftwareLtd/simpl-schema-mockdoc) that heavily influenced this package.
Loading

0 comments on commit 38fef9a

Please sign in to comment.