Use real mockProject for test runs instead of virtual empty project#57
Use real mockProject for test runs instead of virtual empty project#57ksjogo wants to merge 3 commits intojohnfn:mainfrom
Conversation
8247119 to
9a42533
Compare
9a42533 to
924f4ba
Compare
3538fc1 to
ff8160d
Compare
ff8160d to
42c3d0e
Compare
johnfn
left a comment
There was a problem hiding this comment.
This looks great. My only real concern is that the tests continue to run nice and snappy like they did before. If they do then I'm excited to land this!
Overall nit is that "dummy" could probably be renamed something a bit more descriptive, like "testEnvironment" or something.
40034c8 to
2c0ee9d
Compare
|
All tests run fine now. |
2c0ee9d to
45fd188
Compare
|
This is fantastic. Can't wait to finally test asset generation. |
81ada68 to
8d07b67
Compare
04b5966 to
222d9d0
Compare
222d9d0 to
5d9f529
Compare
|
This one is reviewable now. Windows tests will be fixed in the windows mr (or i can merge these two, but that would go out of hand). |
| @@ -0,0 +1,6 @@ | |||
| // this file will have dynamic content from our test infrastructure | |||
There was a problem hiding this comment.
Writing nit: "This file will be written to by ts2gd's tests."
There was a problem hiding this comment.
Well yes, but no. We have it here so that the fs can see it but the tests aren't writing to it. (We return different content to tsc).
|
This is awesome. Sorry it took me a few days to get to this - somehow I totally missed your message. It looks like it's failing CI though? |
|
Yeah, as the path handling is broken on Windows. (Which wasn't triggered before without the real project). |
|
Any thoughts here? |
|
Sorry for disappearing for a little here - I got super busy. I'll merge this in soon. :) |
|
No worries, will need the trifecta with some more changes for a work project end of month and might need to keep further changes bundled to get me there in time. We can try to unwrap after. |
Windows will be fixed with #82
So let's wait for that to go green.
But can be reviewed now.