gitlab-org--gitlab-foss/spec/frontend_integration/test_helpers/mock_server/use.js

5 lines
135 B
JavaScript

import { createMockServer } from './index';
if (process.env.NODE_ENV === 'development') {
window.mockServer = createMockServer();
}