diff --git a/.nycrc b/.nycrc new file mode 100644 index 0000000000..74f4a4dd45 --- /dev/null +++ b/.nycrc @@ -0,0 +1,10 @@ +{ + "all": true, + "per-file": true, + "check-coverage": false, + "skip-full": false, + "lines": 70, + "extension": [".ts"], + "include": "src/**/*.ts", + "reporter": ["html", "text", "lcov", "cobertura"] +} diff --git a/mocha-config.json b/mocha-config.json deleted file mode 100644 index 85a8fbc9ef..0000000000 --- a/mocha-config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "reporterEnabled": "spec" -} diff --git a/package.json b/package.json index 14a29d9fdb..d613339758 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "export-quads": "ts-node src/cli/export-quads-app.ts", "build": "tsc", "doc": "typedoc --options typedoc.json", - "test": "nyc --no-clean --silent mocha --require ts-node/register --timeout 10000 \"test/**/*.spec.ts\" --reporter mocha-multi-reporters --reporter-options configFile=mocha-config.json", + "test": "nyc --no-clean mocha --require ts-node/register --timeout 10000 \"test/**/*.spec.ts\"", "test-full": "npm run test -- --test-installation" }, "keywords": [], diff --git a/src/cli/index.ts b/src/cli/index.ts deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/util/xpath.ts b/src/util/xpath.ts deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/test/slicing/reconstruct/simple.ts b/test/slicing/reconstruct/simple.ts index c3f0d4a38d..a819f9b854 100644 --- a/test/slicing/reconstruct/simple.ts +++ b/test/slicing/reconstruct/simple.ts @@ -106,5 +106,10 @@ c <- 3 assertReconstructed('Reconstruct access in pipe', shell, ` ls <- x[[1]] %>% st_cast() class(ls)`, '2', `x[[1]]`) + + /* TODO: fix post thesis + assertReconstructed('Reconstruct access in pipe', shell, ` +ls <- x[[1]] %*% st_cast() +class(ls)`, '2', `x[[1]]`)*/ }) }))