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

Migrate tests #763

Merged
merged 23 commits into from
Jul 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ca62f90
Update .gitignore
aashu16 May 25, 2023
55885fc
Install and configure vitest, update test script
aashu16 May 25, 2023
698eea8
Upgrade @tl/react and @tl/user-event
aashu16 May 25, 2023
40ee9b0
Update test_util functions to use tl and vitest
aashu16 May 25, 2023
a3ac554
Update input_numeric_format
aashu16 Jun 4, 2023
c914e0a
Update tests in input.spec (WIP)
aashu16 Jun 4, 2023
24fa7ee
Update tests in keypress_and_caret (WIP)
aashu16 Jun 4, 2023
a73e100
Rename file to input_numeric_format.spec.jsx
aashu16 Jun 28, 2023
c3b04b8
Convert more tests in input.spec.jsx
aashu16 Jun 28, 2023
d3893d8
Add missing dependencies
aashu16 Jun 28, 2023
503dbad
Use 'renderHook' from @testing-library/react
aashu16 Jun 29, 2023
78b7fa6
Add alternatives for tests manipulating state
aashu16 Jun 29, 2023
83fb6f1
Update some of the tests using mocks
aashu16 Jun 29, 2023
20af969
Update remaining tests in input.spec
aashu16 Jul 2, 2023
69b62d8
Change keypress_and_caret.spec file type - js to jsx
aashu16 Jul 2, 2023
33aa0e0
Update tests in keypress_and_caret.spec
aashu16 Jul 2, 2023
42ff0fe
Update simulateFocusEvent function
aashu16 Jul 2, 2023
990349c
Upgrade vitest
aashu16 Jul 3, 2023
4725976
Update more tests in keypress_and_caret
aashu16 Jul 3, 2023
b3adbd3
Change file type - js to jsx
aashu16 Jul 3, 2023
1c0361c
Update tests in format_as_text.spec
aashu16 Jul 3, 2023
70c4a94
Add data-testid attribute in `displayText` span
aashu16 Jul 3, 2023
efecc55
Remove karma, enzyme from dependencies
aashu16 Jul 16, 2023
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
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
node_modules/**/*

.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

*.swp
.DS_Store
*.log
Expand Down
Loading