update all but react-scripts (wrong execution of unit tests so they are failing)

fix failing tests because of missing implementation of mount() in enzyme for react 17
This commit is contained in:
2020-11-27 22:43:12 +00:00
parent 2ae00f8af0
commit 2d8bb06852
4 changed files with 26 additions and 28 deletions

View File

@ -20,7 +20,8 @@ describe('<Player/>', function () {
}
]
});
expect(wrapper.find('r')).toHaveLength(1);
expect(wrapper.find('Plyr').dive().find('video')).toHaveLength(1);
});
function simulateLikeButtonClick() {