Closed hazemk537 closed 1 year ago
Totals | |
---|---|
Change from base Build 4398888430: | 0.003% |
Covered Lines: | 1379 |
Relevant Lines: | 1394 |
If you run into an unexpected issue, please ask for help with it rather than reverting to a sub-optimal choice. In this case, you'll need to modify Jest config, ESBuild config and TS declarations to allow for SVG files.
okay , I can do that
Please do not add any new config files or new dependencies. The existing support for gif/png files should extend to svg files immediately.
the svg is still not work,any help?
We do NOT want any of the images as data URLs. But surely it can't be true that we need something special to copy an asset from the source to the build folder and insert the relative path to it.
okay , should I repo the repo to PNG version ? to accept the pull request ?
No, the SVG version is correct. It should simply be handled same as the other images are - which is, copied to the build folder and linked from there.
No need to copy to dist , its working now using the SVG !!
Done
Please fix the build failures.
done
I don't think we should be increasing the test timeout. It's probably just flaky? Another run will fix it.
I tried runnibg it using jest and without increasing the timeout ,one file sometimes fails but after the increasing , no fails . I think we shoud increase it for future non fake issues during build . do you agrre with me ?
No, we should fix the test to not flake instead.
so the problem is inside the test file itself ! I got it
Because , I found an error while building when I used the SVG version , so I convert it to PNG