mirror of
https://github.com/apache/superset.git
synced 2026-04-22 09:35:23 +00:00
test: Add jest-enzyme assertion library for better frontend tests (#10459)
* adding jest-enzyme * enzymeify lots of assertions * types for jest-enzyme
This commit is contained in:
committed by
GitHub
parent
671461d0d0
commit
7f70a241f9
@@ -48,7 +48,7 @@ describe('ConfirmStatusChange', () => {
|
||||
|
||||
wrapper.update();
|
||||
|
||||
expect(wrapper.find(Modal).exists()).toBeTruthy();
|
||||
expect(wrapper.find(Modal)).toExist();
|
||||
});
|
||||
|
||||
it('calls the function on confirm', () => {
|
||||
|
||||
Reference in New Issue
Block a user