bendtherules
2b98454c77
Remove pre-push git hook
2019-08-04 00:23:10 +05:30
bendtherules
c9fc3b9c93
Configure lint-staged to run pre-commit scripts only on staged files
2019-08-04 00:08:39 +05:30
bendtherules
8594a9694c
Update package-lock
2019-08-04 00:01:49 +05:30
bendtherules
f58c94a0e0
Install husky and add some git hooks
2019-08-04 00:00:50 +05:30
bendtherules
b338d774c1
package.json - Move fix:format script below
2019-08-03 23:55:46 +05:30
bendtherules
2da707fcdd
Update package-lock
2019-08-03 23:42:15 +05:30
bendtherules
4548f2c3b4
Change codecov command in travis.yml
2019-08-03 21:33:15 +05:30
bendtherules
5e28e0e222
Add size-snapshot
2019-08-03 21:10:51 +05:30
bendtherules
ee942aab7e
Vscode settings - Enable eslint for ts files
2019-08-03 21:09:12 +05:30
bendtherules
8a2ac706ca
Disable some ts rules in eslint
...
Array rule doesn't make sense to me\
Prop-types, in my opinion, is not needed when components are types anyway. And this is also a library, which doesn't export any component as such
2019-08-03 21:08:50 +05:30
bendtherules
f0d18da0f8
Add compiled/ to eslintignore
2019-08-03 21:07:50 +05:30
bendtherules
f83a5c0fd9
Change tsconfig - Make target es6 in base config
2019-08-03 21:00:06 +05:30
bendtherules
67206dfe41
Fix prettier on all files
2019-08-03 20:40:07 +05:30
bendtherules
feee690b48
Remove some useless tests
2019-08-03 20:30:23 +05:30
bendtherules
dbea40b9f8
Fix usages on mountAndGetRootNode with function component
2019-08-03 20:29:45 +05:30
bendtherules
b59b0c8fe2
mountAndGetRootNode - Support function comp as input
...
Internally creates wrapper class and outputs inner node from that class instance
2019-08-03 18:49:29 +05:30
bendtherules
896795569a
Remove traverse-edge testcase file
...
Didn't make much sense
2019-08-03 18:48:20 +05:30
bendtherules
ff9821329a
src/utils - Add helpers for detecting react functional and class components
2019-08-03 18:48:01 +05:30
bendtherules
614decc8ea
Add vscode setting - Configure prettier for js, ts, tsx
2019-08-03 18:47:05 +05:30
bendtherules
91ab8f39fb
Add test util for creating transparent component
2019-08-03 13:08:44 +05:30
bendtherules
1643065536
Update all imnport usages of mountInEnzyme
2019-08-02 19:53:10 +05:30
bendtherules
a7328abe53
Rename mountInEnzyme test util file
2019-08-02 19:52:49 +05:30
bendtherules
d2c4bed511
Add some testcases for traverseGenerator-ordered
...
With diff values of order param
2019-08-02 19:51:27 +05:30
bendtherules
e3f18385f9
Add testcases - traverseGenerator-basic for function component
2019-08-02 13:44:44 +05:30
bendtherules
7b0aeb1535
traverseGenerator - Fix typedef for order
2019-08-02 13:42:21 +05:30
bendtherules
b83bf9b5b5
Refactor traverseGenerator-basic test file
...
Change test titles and add comments
2019-08-02 13:34:30 +05:30
bendtherules
079ad43a77
Add testcase - traverse-basic with function component
2019-08-02 13:33:02 +05:30
bendtherules
dce1f84ddc
Add basic test for traverseGenerator
2019-08-02 01:01:19 +05:30
bendtherules
7938a4ab2c
Allow customised order in traverseGenerator
2019-08-02 00:56:21 +05:30
bendtherules
3a7bf374bd
Add basic traverseGenerator
...
Need to allow changing order
2019-08-02 00:12:21 +05:30
bendtherules
007aa2b86b
Add testcases - nested search with findNodeByName
2019-07-31 00:47:22 +05:30
bendtherules
c2077a5419
Add testcases - findNodeByComponentRef
2019-07-31 00:34:09 +05:30
bendtherules
fc47961602
Rename findNodeByComponentInstance to findNodeByComponentRef
2019-07-31 00:33:55 +05:30
bendtherules
04a69af199
Add testcase - findNodeByComponent - similar to component name cases
2019-07-30 11:41:07 +05:30
bendtherules
8d14a710f7
Add testcase - findNodeByName for 5th level
2019-07-30 11:35:21 +05:30
bendtherules
fb67b43d35
Refactor test - Reorder imports
2019-07-25 12:42:09 +05:30
bendtherules
6fb9efa44b
Add more testcases for findNodeByName with class and fn components
2019-07-25 09:34:12 +05:30
bendtherules
ae0e39ab80
Add getWrappedComponent util and consume in tests
2019-07-25 08:54:17 +05:30
bendtherules
0bf27b7016
package.json - Add command for running tests with chrome debugger
2019-07-25 01:12:46 +05:30
bendtherules
7e1d813811
Merge branch 'master' of https://github.com/bendtherules/react-fiber-traverse
2019-07-25 01:10:19 +05:30
bendtherules
adbb9527c9
findNode - Disable console.debug statements
2019-07-25 01:08:36 +05:30
bendtherules
7b51c96a57
Add utils - Methods to check if a node corresponds to functional or class components
2019-07-24 02:28:13 +05:30
bendtherules
99d808c9b8
Rename utils methods like isHtmlLike to isNodeHtmlLike
...
Also renamed isNodeNotHtmlLike
2019-07-24 02:26:54 +05:30
bendtherules
9039ab991b
Add testcase - findNodeByName - one test
2019-07-23 15:49:19 +05:30
bendtherules
68a5080ae4
Fix isNotHtmlLike util definition
2019-07-23 15:47:59 +05:30
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