>>> @btilford/md-check-compile-typescript run-s lint compile test > @btilford/md-check-compile-typescript@1.0.1-0 lint /home/btilford/work/btilford/md-fence-check/plugins/compile-typescript > eslint . --ext js --ext ts --ext md /home/btilford/work/btilford/md-fence-check/plugins/compile-typescript/lib/ts-compiler.spec.ts 24:18 warning Found fs.readFileSync with non literal argument at index 0 security/detect-non-literal-fs-filename 54:20 warning Found fs.existsSync with non literal argument at index 0 security/detect-non-literal-fs-filename /home/btilford/work/btilford/md-fence-check/plugins/compile-typescript/lib/ts-compiler.ts 36:35 warning 'diagnostics' is defined but never used @typescript-eslint/no-unused-vars 43:22 warning Found fs.readFileSync with non literal argument at index 0 security/detect-non-literal-fs-filename 72:12 warning Missing return type on function @typescript-eslint/explicit-function-return-type ✖ 5 problems (0 errors, 5 warnings) > @btilford/md-check-compile-typescript@1.0.1-0 compile /home/btilford/work/btilford/md-fence-check/plugins/compile-typescript > tsc --project tsconfig.production.json > @btilford/md-check-compile-typescript@1.0.1-0 test /home/btilford/work/btilford/md-fence-check/plugins/compile-typescript > nyc mocha --enable-source-maps --require ts-node/register --sort lib/**/*.spec.ts Compiling Typescript blocks TsCompiler.compile.invocations: 1 TsCompiler.compile.timer: 811.61ms ✓ returned results TsCompiler.compile.invocations: 2 TsCompiler.compile.timer: 589.677ms ✓ it compiled TsCompiler.compile.invocations: 3 TsCompiler.compile.timer: 496.958ms ✓ returns the path for a new js file TsCompiler.compile.invocations: 4 TsCompiler.compile.timer: 460.002ms ✓ wrote the js file TsCompiler.compile.invocations: 5 TsCompiler.compile.timer: 618.485ms typescript ok ✓ the file can be imported TsCompiler.compile.invocations: 6 TsCompiler.compile.timer: 504.247ms ✓ the file exports the correct items 6 passing (4s) -------------------------|---------|----------|---------|---------|----------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------------------|---------|----------|---------|---------|----------------------- All files | 88.1 | 53.85 | 83.33 | 88.61 | .md-check/test/fixtures | 100 | 100 | 100 | 100 | example-1.ts_0.ts | 100 | 100 | 100 | 100 | lib | 87.34 | 53.85 | 82.61 | 87.84 | index.ts | 100 | 100 | 100 | 100 | ts-compiler.spec.ts | 100 | 100 | 100 | 100 | ts-compiler.ts | 77.27 | 53.85 | 55.56 | 79.07 | 37,89,106,133-144,155 -------------------------|---------|----------|---------|---------|-----------------------