Commit Graph
123 Commits
Author SHA1 Message Date
bendtherules ef61b17f4c Export findNode mthods from index 2019-07-23 11:13:54 +05:30
bendtherules 5897cee001 Add 3 findNode methods - by name, comp and instance
1. By Component name
2. By Component (Class Or Function) reference
3. By Component (ClassComponent) instance reference
2019-07-23 11:13:40 +05:30
bendtherules c8f09eb5a1 Refactor - Move traverse to separate file and export from index 2019-07-23 10:56:57 +05:30
bendtherules 4af377f1ba Add better type check utils for HTMLLike 2019-07-22 18:47:32 +05:30
bendtherules c239b1b6d1 Add better mock typedef for FiberNode 2019-07-22 18:46:31 +05:30
bendtherules 5e93f9dab9 Add testcase - traverse - edge cases like rendering divs directly as root 2019-07-21 09:19:46 +05:30
bendtherules c1ae3fe5fa Fix test/utils - Allow mounting string type of elements 2019-07-21 09:19:10 +05:30
bendtherules 7ce8ee1778 Add testcase - depth-7-nested-2 as a more nested case 2019-07-21 09:18:16 +05:30
bendtherules 70a782ad0f Add initial TODOs 2019-07-20 19:29:16 +05:30
bendtherules 23ea59c83b Add testcase - traverse-nested misc 2019-07-20 19:29:05 +05:30
bendtherules 70901db7c4 Add testcase - travserse-basic-depth=5 2019-07-20 19:28:38 +05:30
bendtherules 771ff3e21e Remove whitespaces in tests 2019-07-20 19:03:05 +05:30
bendtherules 3d32347a37 Tests - Fix mountAndGetRootNode usage + Add depth=1 test case 2019-07-20 18:55:34 +05:30
bendtherules 8de40dcfc8 Refactor test mounting logic to separate file 2019-07-20 18:55:12 +05:30
bendtherules b2c107a5f5 Refactor FiberNode typedef to separate file 2019-07-20 18:50:50 +05:30
bendtherules 2a628c608e Remove stray console.log 2019-07-20 18:50:06 +05:30
bendtherules a18717ae33 Update package-lock 2019-07-20 18:49:28 +05:30
bendtherules 7b53266634 Revert "Add 'jest-plugin-must-assert' package"
This reverts commit d939bde9f7.
2019-07-20 18:47:51 +05:30
bendtherules d939bde9f7 Add 'jest-plugin-must-assert' package
This will make sure that all jest test cases calls atleast one asset
2019-07-20 18:30:34 +05:30
bendtherules 17be30ca20 Move back to default prettier config 2019-07-19 18:45:54 +05:30
bendtherules 6638f33d1b Rename and move existing sample test 2019-07-19 18:45:39 +05:30
bendtherules 92444eacb8 Add basic traverse function with tests 2019-07-19 18:45:25 +05:30
bendtherules 0ad6620437 Init with yo typescript-react-lib 2019-07-19 12:49:20 +05:30