Ghost/ghost/data-generator
Sam Lord c72dcd629f Fixed balance of email recipient data in data generator
no issue

Previously the number of opened emails was being generated incorrectly as the number of delivered emails was being reported too high.

Also, the faker date function occasionally fails for dates which are
too close together so this switches to manually generating a date
between the two.
2023-02-21 23:50:02 +00:00
..
lib Fixed balance of email recipient data in data generator 2023-02-21 23:50:02 +00:00
test Added extra logging to improve dev exp 2022-11-07 16:53:01 +00:00
.eslintrc.js Added command to generate demo data (#15691) 2022-10-26 17:55:08 +01:00
index.js Added command to generate demo data (#15691) 2022-10-26 17:55:08 +01:00
package.json Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
README.md Added command to generate demo data (#15691) 2022-10-26 17:55:08 +01:00

Data Generator

Generate fake data for testing Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests