refactor(netlify): migrate tests to typescript#16395
refactor(netlify): migrate tests to typescript#16395ematipico merged 1 commit intowithastro:mainfrom
Conversation
|
1b7e49f to
9732895
Compare
25fbf38 to
6df85d6
Compare
| return baseLoadFixture(config); | ||
| } | ||
|
|
||
| export class SpyIntegrationLogger extends AstroIntegrationLogger { |
There was a problem hiding this comment.
Can't we use the SpyLogger from test-utils in core, and then use forkIntegrationLogger?
There was a problem hiding this comment.
No directly. We need to tweak the code from SpyLogger to make it works.
astro/packages/astro/test/units/cli/utils.ts
Lines 210 to 213 in 0f24c22
I can do some refactor about the logger used in tests after I migrate all js files to ts.
There was a problem hiding this comment.
It's fine. I will handle it. I am working on the astro logger, and there are some refactors ahead.
Part of #16241