fix(start): fixed route scripts filtering - #3082
Conversation
|
we need an e2e test for this |
|
Hi @schiller-manuel, it seems the existing e2e are all related to examples, so I'm not sure where to put the e2e case for this. But I found the |
|
View your CI Pipeline Execution ↗ for commit 4fc30eb.
☁️ Nx Cloud last updated this comment at |
|
I would put an e2e test in this project: https://github.com/TanStack/router/tree/main/e2e/start/basic add new routes for this setup and then access them via the playwright test and add some assertions |
|
Hi @schiller-manuel , thanks for the guidance! I've added a new
BTW please let me know whether I should remove the UT added to the |
|
Oops, the test seems to behave differently between headless and UI mode, ill check it Update: Replaced the assertion with |
|
very nice, thanks a lot! |
The filtering before is like:
Which will cause error when specifying
scriptslike:This PR moves the
filter(Boolean)after flattening. But I'm not sure if the following patterns are equivalent: