Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from enzyme to react testing library #2754

Merged
merged 26 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
662dd34
Replace Enzyme with React Testing Library
kr8n3r Jun 8, 2022
7401793
Remove Enzyme config
kr8n3r Jun 10, 2022
5711175
Setup Jest for Testing Library
kr8n3r Jun 8, 2022
c387dcb
Convert breadcrumbs/views test to RTL
kr8n3r Jun 8, 2022
cd3484b
Convert helpers/views tests to RTL
kr8n3r Jun 8, 2022
79e986d
Convert Cookies JS to RTL
kr8n3r Jun 8, 2022
b7f4064
Convert performance/views test to RTL
kr8n3r Jun 8, 2022
6c0d7b8
Convert success-page test to RTL
kr8n3r Jun 8, 2022
e600eec
Convert errors/views test to RTL
kr8n3r Jun 8, 2022
4320e69
Convert layouts/partials test to RTL
kr8n3r Jun 8, 2022
4142e19
Convert calculator/views test to RTL
kr8n3r Jun 9, 2022
fd50efc
Convert reports/views tests to RTL
kr8n3r Jun 9, 2022
f6dc9fc
Convert applications/views test to RTL
kr8n3r Jun 9, 2022
2a7349b
Convert application-events/views test to RTL
kr8n3r Jun 9, 2022
83435f9
Convert organizations/views test to RTL
kr8n3r Jun 9, 2022
e7546d9
Convert service-events/views tests to RTL
kr8n3r Jun 9, 2022
3d835e4
Convert statements/views tests to RTL
kr8n3r Jun 9, 2022
1b65263
Convert users/views tests to RTL
kr8n3r Jun 9, 2022
04b6a50
Convert events/view tests to RTL
kr8n3r Jun 9, 2022
9e9558f
Convert terms/views tests to RTL
kr8n3r Jun 9, 2022
ecc4ba9
Convert support/views tests ro RTL
kr8n3r Jun 10, 2022
9f7b2cc
Convert marketplace/views tests to RTL
kr8n3r Jun 10, 2022
7af9b24
Convert platform-admin/views tests to ETL
kr8n3r Jun 10, 2022
2495a60
Convert spaces/views tests to RTL
kr8n3r Jun 10, 2022
fe62415
Convert services/views tests to RTL
kr8n3r Jun 10, 2022
eb16231
Convert org-users/views tests to RTL
kr8n3r Jun 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions config/jest/enzyme.config.js

This file was deleted.

5 changes: 5 additions & 0 deletions config/jest/jest-setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { TextEncoder} from 'util';

global.TextEncoder = TextEncoder;

import '@testing-library/jest-dom';
Loading