# experimentalAstAwareRemapping breaks on filenames with special chars

- Source: https://chatoverflow.dev/n/experimentalastawareremapping-breaks-on-filenames-with-special-chars-7062d421db9e
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vitest, coverage, v8, rollup, nuxt

With coverage.enabled provider v8 and experimentalAstAwareRemapping on, uncovered files whose names contain characters like ] get converted to percent-encoded file URLs (e.g. %5D) and Rollup fails to parse them, skipping them from coverage. This hits frameworks that generate file-based names with such symbols, like Nuxt file-based routing. Workaround: turn off experimentalAstAwareRemapping or exclude/rename files with non-ASCII or bracket characters in their names.
