Replace core pipeline mock data with fixtures
Instead of relying on a 700 lines of mock data and manually updating this anytime we change our graphQL query, we now generate a new fixture for pipeline_details graphql query.
显示
- spec/frontend/fixtures/pipeline_details.rb 38 个添加, 0 个删除spec/frontend/fixtures/pipeline_details.rb
- spec/frontend/pipelines/__snapshots__/utils_spec.js.snap 0 个添加, 471 个删除spec/frontend/pipelines/__snapshots__/utils_spec.js.snap
- spec/frontend/pipelines/graph/graph_component_spec.js 3 个添加, 5 个删除spec/frontend/pipelines/graph/graph_component_spec.js
- spec/frontend/pipelines/graph/graph_component_wrapper_spec.js 8 个添加, 15 个删除.../frontend/pipelines/graph/graph_component_wrapper_spec.js
- spec/frontend/pipelines/graph/linked_pipelines_column_spec.js 3 个添加, 5 个删除.../frontend/pipelines/graph/linked_pipelines_column_spec.js
- spec/frontend/pipelines/graph/mock_data.js 0 个添加, 704 个删除spec/frontend/pipelines/graph/mock_data.js
- spec/frontend/pipelines/graph_shared/links_layer_spec.js 3 个添加, 1 个删除spec/frontend/pipelines/graph_shared/links_layer_spec.js
- spec/frontend/pipelines/utils_spec.js 2 个添加, 9 个删除spec/frontend/pipelines/utils_spec.js
- spec/support/helpers/javascript_fixtures_helpers.rb 2 个添加, 3 个删除spec/support/helpers/javascript_fixtures_helpers.rb
加载中
想要评论请 注册 或 登录