mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
28b11e6fed
refs: https://github.com/TryGhost/Toolbox/issues/440 New command to generate demo data, creates data for over 20 tables in Ghost, suitable for testing most features of the dashboard, as well as making guided product tours using newsletters, tiers, many posts and tags. Usage: `yarn start generate-data` Optionally, keep your existing posts / tags with: `yarn start generate-data --use-existing-tags --use-existing-posts`
12 lines
219 B
JavaScript
12 lines
219 B
JavaScript
/**
|
|
* Test Utilities
|
|
*
|
|
* Shared utils for writing tests
|
|
*/
|
|
|
|
// Require overrides - these add globals for tests
|
|
require('./overrides');
|
|
|
|
// Require assertions - adds custom should assertions
|
|
require('./assertions');
|