Exclude isolated-vm.ts from coverage.
This commit is contained in:
parent
afa757f21a
commit
94084db77d
|
@ -56,6 +56,10 @@ const config: Config.InitialOptions = {
|
||||||
"!src/tests/**/*.{js,ts}",
|
"!src/tests/**/*.{js,ts}",
|
||||||
// The use of coverage in the JS runner bundles breaks tests
|
// The use of coverage in the JS runner bundles breaks tests
|
||||||
"!src/jsRunner/bundles/**/*.{js,ts}",
|
"!src/jsRunner/bundles/**/*.{js,ts}",
|
||||||
|
// We have a polyfill for the TextDecoder class in here that gets
|
||||||
|
// injected into the vm for deserializing BSON. If it gets coveraged
|
||||||
|
// it breaks the tests.
|
||||||
|
"!src/jsRunner/vm/isolated-vm.ts",
|
||||||
],
|
],
|
||||||
coverageReporters: ["lcov", "json", "clover"],
|
coverageReporters: ["lcov", "json", "clover"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue