···11+export function initial() {
22+ return "Always present"
33+}
44+55+/* QUERY_PARAM FIRST START */
66+export function first() {
77+ return "Removed when ?query=first"
88+}
99+/* QUERY_PARAM FIRST END */
1010+1111+/* QUERY_PARAM SECOND START */
1212+export function second() {
1313+ return "Removed when ?query=second"
1414+}
1515+/* QUERY_PARAM SECOND END */
1616+1717+export function uncovered() {
1818+ return "Always present"
1919+}
···250250 )})=>{{`
251251 const wrappedCode = `${codeDefinition}${code}\n}}`
252252 const options = {
253253- // we are using a normalized file name by default because this is what
254254- // Vite expects in the source maps handler
255255- filename: module.file || filename,
253253+ filename: module.id,
256254 lineOffset: 0,
257255 columnOffset: -codeDefinition.length,
258256 }
259257260260- const finishModuleExecutionInfo = this.debug.startCalculateModuleExecutionInfo(filename, codeDefinition.length)
258258+ const finishModuleExecutionInfo = this.debug.startCalculateModuleExecutionInfo(options.filename, codeDefinition.length)
261259262260 try {
263261 const initModule = this.vm
···300298 finally {
301299 // moduleExecutionInfo needs to use Node filename instead of the normalized one
302300 // because we rely on this behaviour in coverage-v8, for example
303303- this.options.moduleExecutionInfo?.set(filename, finishModuleExecutionInfo())
301301+ this.options.moduleExecutionInfo?.set(options.filename, finishModuleExecutionInfo())
304302 }
305303 }
306304