Repository navigation
deck.gl/test-utils: New sub-module layer-test utils (Stacked PR #3) - #1290
Conversation
|
Refer to #1423 |
9b74a41 to
49497f0
Compare
ed34f37 to
539b61a
Compare
|
Big step towards #1423 |
| } | ||
|
|
||
| run() { | ||
| this.deckgl = new Deck({ |
There was a problem hiding this comment.
It is good to have pure JS integration, but we still need the react version otherwise rendering tests can't cover the react module which is still our major entry point.
There was a problem hiding this comment.
Yes we can do that. Ideally, the react integration should be quite thin, but of course it doesn't hurt to test it.
If we want to keep both, we should put some effort into making them more similar. I found the react test driver rather hard to read as it stands.
jianhuang01
left a comment
There was a problem hiding this comment.
I like the idea of new test sub-module which is pretty cool. The only concern is that removing react API integration in rendering test, which can test both react and pure-JS code in the workflow chain, because we are still refactoring the two modules, could be risky.
c3e7f1a to
aae1c60
Compare
8485d72 to
205e2ce
Compare
205e2ce to
e93d56a
Compare
@jianhuang01 This PR still has some issues so not planning to land it yet, but want to show you the direction I am working on:
RenderTestclass that any app can use to test its layers.For now I keep the current working tests in a copy
render-test-react.js