a8083960d8
refs https://github.com/TryGhost/Product/issues/4182 Updated framework to include shared test config for easier app setup.
9 lines
488 B
TypeScript
9 lines
488 B
TypeScript
import {responseFixtures} from '@tryghost/admin-x-framework/test/acceptance';
|
|
|
|
export const globalDataRequests = {
|
|
browseSettings: {method: 'GET', path: /^\/settings\/\?group=/, response: responseFixtures.settings},
|
|
browseConfig: {method: 'GET', path: '/config/', response: responseFixtures.config},
|
|
browseSite: {method: 'GET', path: '/site/', response: responseFixtures.site},
|
|
browseMe: {method: 'GET', path: '/users/me/?include=roles', response: responseFixtures.me}
|
|
};
|