delete comments, move files

pull/5357/head
Milan Hauth 5 years ago
parent 0c24d32996
commit bba4333749

@ -23,10 +23,10 @@
}, },
"types": "types/runtime/index.d.ts", "types": "types/runtime/index.d.ts",
"scripts": { "scripts": {
"test": "mocha --config mocharc.js", "test": "mocha --config test/mocharc.js",
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts", "test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts",
"quicktest": "mocha --config mocharc.js", "quicktest": "mocha --config test/mocharc.js",
"precoverage": "c8 mocha --config mocharc.coverage.js", "precoverage": "c8 mocha --config test/mocharc.coverage.js",
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html", "coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
"codecov": "codecov", "codecov": "codecov",
"precodecov": "npm run coverage", "precodecov": "npm run coverage",

@ -2,7 +2,6 @@ module.exports = Object.assign(
{}, {},
require('./mocharc.js'), require('./mocharc.js'),
{ {
//recursive: true, // fails
fullTrace: true, fullTrace: true,
require: [ require: [
'source-map-support/register', 'source-map-support/register',

@ -1,3 +1,5 @@
// paths are relative to project root
module.exports = { module.exports = {
diff: true, diff: true,
extension: ['js'], extension: ['js'],
@ -9,10 +11,7 @@ module.exports = {
// files to import before tests // files to import before tests
file: [ file: [
'test/test.js', 'test/test.js',
//'test/setup.js',
//'test/helpers.js',
//'internal/index.js',
], ],
// test files // not used. test files are called from test/test.js
//'watch-files': ['test/*/index.js'], //'watch-files': ['test/*/index.js'],
}; };
Loading…
Cancel
Save