mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
lib: fix sourcemaps with ts module mocking
PR-URL: https://github.com/nodejs/node/pull/58193 Fixes: https://github.com/nodejs/node/issues/58119 Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
1 parent
e38ce27f3c
commit
8ccfcb5adc
6 files changed
+89
-1
No files matched your search
@@ -313,6 +313,15 @@ const tests = [
|
||||
flags: ['--test-reporter=tap', '--test-coverage-exclude=../output/**'],
|
||||
cwd: fixtures.path('test-runner/coverage-snap'),
|
||||
} : false,
|
||||
process.features.inspector ? {
|
||||
name: 'test-runner/output/typescript-coverage.mts',
|
||||
flags: ['--disable-warning=ExperimentalWarning',
|
||||
'--test-reporter=tap',
|
||||
'--experimental-transform-types',
|
||||
'--experimental-test-module-mocks',
|
||||
'--experimental-test-coverage',
|
||||
'--test-coverage-exclude=!test/**']
|
||||
} : false,
|
||||
]
|
||||
.filter(Boolean)
|
||||
.map(({ flags, name, tty, transform, cwd }) => ({
|
||||
|
||||
Reference in new issue
Block a user