mirror of https://github.com/sveltejs/svelte
cache across runs remove ls command ignore more scripts unit test runs too many tests remove args? move unit to a separate mocha config file attempt again? remove pretest build feat: update ci feat: update ci yml split prebuild to different os install without building install without building fix ci.yml fix test add commentpull/7933/head
parent
6ac7038e47
commit
312e4ceb00
@ -0,0 +1,15 @@
|
|||||||
|
module.exports = {
|
||||||
|
spec: [
|
||||||
|
'src/**/__test__.ts',
|
||||||
|
],
|
||||||
|
require: [
|
||||||
|
'sucrase/register'
|
||||||
|
],
|
||||||
|
recursive: true,
|
||||||
|
};
|
||||||
|
|
||||||
|
// 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');
|
||||||
|
}
|
||||||
Loading…
Reference in new issue