mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-04-19 03:00:07 -04:00
Using mocha, chai, and nyc * tests for parsing string for numeric value comparison * tests for parsing string for durations and duration comparisons * tests for parsing reddit entity (subreddit/user) from string * tests for parsing submission/comment id from reddit permalink string * tests for initial config parsing/merging Still can't get nyc to get coverage for everything in src using "all" -- causes reporting to show 0 for everything??
25 lines
410 B
JSON
25 lines
410 B
JSON
{
|
|
"extends": "@istanbuljs/nyc-config-typescript",
|
|
"exclude": [
|
|
"node_modules/",
|
|
"**/src/Schema/**",
|
|
"**/src/Web/assets/**",
|
|
"**/tests/**",
|
|
"register.js",
|
|
"**/src/**/*.d.ts"
|
|
],
|
|
"include": [
|
|
"**/src/**/*.ts",
|
|
"**/src/**/*.js",
|
|
"**/src/**/*.js.map"
|
|
],
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"reporter": [
|
|
"text-summary",
|
|
"html"
|
|
],
|
|
"report-dir": "./coverage"
|
|
}
|