mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-28 16:12:17 +01:00
15 lines
274 B
JavaScript
15 lines
274 B
JavaScript
module.exports = {
|
|
file: [
|
|
'test/test.ts'
|
|
],
|
|
require: [
|
|
'sucrase/register'
|
|
]
|
|
};
|
|
|
|
// add coverage options when running 'npx c8 mocha'
|
|
if (process.env.NODE_V8_COVERAGE) {
|
|
module.exports.fullTrace = true;
|
|
module.exports.require.push('source-map-support/register');
|
|
}
|