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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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();
}