vire / jest-vue-preprocessor

Preprocessor that allows importing of .vue files in jest tests
MIT License
130 stars 27 forks source link

lost the param fileName #173

Open lyh3173 opened 4 years ago

lyh3173 commented 4 years ago

tsc.transpileModule in function transformTs lost the param fileName

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request

Current behavior

filename --> module.tsx

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 2.13 1.74 2.14 4.06
views 2.14 1.76 2.19 4.1
module.tsx 2.14 1.76 2.19 4.1 4,9-10,14-15,18-19,27-648
--------------- --------- ---------- --------- --------- ---------------------------

Expected behavior

real file name