Migrated tests to jest
Used jest-codemods to migrate, will have to pass everything by hand before we can merge.
This commit is contained in:
2
test6/toggleClass/toggleClass.js
Normal file
2
test6/toggleClass/toggleClass.js
Normal file
@ -0,0 +1,2 @@
|
||||
const toggleClass = (el, className) => el.classList.toggle(className);
|
||||
module.exports = toggleClass;
|
||||
Reference in New Issue
Block a user