debian-mirror-gitlab/spec/frontend_integration/test_helpers/mock_server/use.js
2020-10-24 23:57:45 +05:30

5 lines
135 B
JavaScript

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