JUnit not showing color well in test results

I’m running Vitest with a JUnit reporter, and the ansi colors are not shown well in the “tests” tab, while they are shown well in the “steps” tab (using a regular console reporter).

This is how it looks like in the test tab

Ignored nodes: comments, <script />, <style />
[36m<html[39m
  [33mdata-theme[39m=[32m"light"[39m
  [33mstyle[39m=[32m"--chakra-ui-color-mode: light;"[39m
[36m>[39m
  [36m<head />[39m

Are colors not supported in the circle ci’s test tab?