Andreas Adam
Andreas Adam
I would like to take this on and see how far I get.
@aem I guess I need help to understand which function(s) to mock to get at the strings for filename and content.
@aem yeah I was thinking the same thing about not generating the files, but my first thought was to somehow mock the fs module like it was done in `app-generator.ts`...
@dajinchu , @ivandevp Thanks for the info!
I tried to implement this on the weekend, but failed miserably. My first approach was to set up the mock-fs and then instantiate and run the AppGenerator before each test....
For reference, I pushed my failed attempt here: https://github.com/blitz-js/blitz/blob/generator-tests/packages/generator/test/generators/query-generator.test.ts Feel free to delete the branch at any time. I will watch this issue and hope to learn something!
Hi Greg, there is no direct use or import of the bootstrap partials. However the bootstrap path gets added as import path into the compilation configuroation @see "config.rb". So you...
Yeah you are right, I have to clarify that, thanks