debian-mirror-gitlab/spec/frontend_integration/test_helpers/mock_server/use.js

6 lines
135 B
JavaScript
Raw Normal View History

2020-10-24 23:57:45 +05:30
import { createMockServer } from './index';
if (process.env.NODE_ENV === 'development') {
window.mockServer = createMockServer();
}