Skip to content

Migrate table_pagination specs to Jest & VTU

Paul Gascou-Vaillancourt requested to merge migrate-table-pagination-specs into master

What does this MR do?

This migrates the Karma-based spec spec/javascripts/vue_shared/components/table_pagination_spec.js to Jest and Vue Test Utils. All the assertions are the same but have been rewritten with Jest's and VTU's APIs.

This lays the groundwork for the upcoming changes to app/assets/javascripts/vue_shared/components/pagination/table_pagination.vue where we'll soon start using GitLab UI's pagination component instead of the custom one that's currently being used: !18602 (merged)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports