mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +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`
11 lines
334 B
JavaScript
11 lines
334 B
JavaScript
// This file is required before any test is run
|
|
|
|
// Taken from the should wiki, this is how to make should global
|
|
// Should is a global in our eslint test config
|
|
global.should = require('should').noConflict();
|
|
should.extend();
|
|
|
|
// Sinon is a simple case
|
|
// Sinon is a global in our eslint test config
|
|
global.sinon = require('sinon');
|