simcha90 commented on issue #13632: URL: https://github.com/apache/superset/issues/13632#issuecomment-822296832
> > I have a question here, if I have some test utils relevant for only for some specific folder like integration tests for `FiltersBar` folder, where I can put these utils? > > @simcha90 If it's specific for `FiltersBar` it should go inside the `FiltersBar` folder. You can opt to leave it at the root level or if you have more utils, create a utils folder inside `FiltersBar` folder. > > `FilterSets` has an example of this structure: > > <img alt="Screen Shot 2021-04-13 at 9 34 23 AM" width="273" src="https://user-images.githubusercontent.com/70410625/114553048-9c0c7e00-9c3b-11eb-9ada-b4dc533dbb70.png"> @michael-s-molina But what file can I create for this utils? Like `testUtils.ts` but in this case we mix code of tests with real code, or for example I create some flow that can be rellevant for some files in `FilterBar`, where to put it? May be it make sense create folder `__tests__` in `FilterBar` folder and put test related code there? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
