0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
svelte/.mocharc.js

15 lines
274 B
JavaScript
Raw Normal View History

module.exports = {
file: [
2020-09-29 17:19:21 +02:00
'test/test.ts'
],
require: [
'sucrase/register'
]
};
// add coverage options when running 'npx c8 mocha'
if (process.env.NODE_V8_COVERAGE) {
2020-09-29 17:19:21 +02:00
module.exports.fullTrace = true;
module.exports.require.push('source-map-support/register');
}