mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
50e33fdccb
* deps: ember-cli-node-assets@0.2.2 * fix tests when run via http://localhost:4200/tests no issue - `blogUrl` in the mocked config was hardcoded, switching to using the current origin fixed the navigation tests - we were only pulling jquery drag simulator library in on test builds but we also need it added to `test-support.js` in development builds - lazy loading is disabled in the test env which previously worked fine as all of the codemirror assets are bundled into the test build, now that we also run tests using the development build we needed to update the config to import codemirror assets into the `test-support.js` file - this ensures that we have normal lazy-loading behaviour when developing locally and that accessing via http://localhost:4200/tests doesn't die horribly due to missing dependencies
21 lines
573 B
JavaScript
21 lines
573 B
JavaScript
export default [{
|
|
blogTitle: 'Test Blog',
|
|
blogUrl: `${window.location.origin}/`,
|
|
clientId: 'ghost-admin',
|
|
clientSecret: '1234ClientSecret',
|
|
fileStorage: 'true',
|
|
// these are valid attrs but we want password auth by default in tests
|
|
// ghostAuthId: '1234GhostAuthId',
|
|
// ghostAuthUrl: 'http://devauth.ghost.org:8080',
|
|
internalTags: 'false',
|
|
publicAPI: 'false',
|
|
routeKeywords: {
|
|
tag: 'tag',
|
|
author: 'author',
|
|
page: 'page',
|
|
preview: 'p',
|
|
private: 'private'
|
|
},
|
|
useGravatar: 'true'
|
|
}];
|