Skip to content

Commit

Permalink
initial coverage setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fey101 committed Oct 9, 2024
1 parent 1711561 commit 60fb94b
Show file tree
Hide file tree
Showing 9 changed files with 1,718 additions and 436 deletions.
1 change: 1 addition & 0 deletions vscode/microsoft-kiota/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ out/
.kiotabin/
*.vsix
.vscode-test
coverage/
5 changes: 4 additions & 1 deletion vscode/microsoft-kiota/.vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js',
files: 'out/test/**/*.test.js',
includeAll: true,
exclude: ["out/src/test/**/*.test.*", "**/dist"],
reporter: ["text", "html", "json-summary", "lcov"],
});
1 change: 1 addition & 0 deletions vscode/microsoft-kiota/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ vsc-extension-quickstart.md
.kiotabin/
.vsix
images/samples/
coverage/
6 changes: 3 additions & 3 deletions vscode/microsoft-kiota/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import stylisticTs from '@stylistic/eslint-plugin-ts'
import stylisticTs from '@stylistic/eslint-plugin-ts';
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";

export default [{
ignores: ["**/out", "**/dist", "**/*.d.ts", ".vscode-test", "node_modules", "eslint.config.mjs", "webpack.config.cjs"],
ignores: ["**/out", "**/dist", "**/*.d.ts", ".vscode-test", "node_modules", "eslint.config.mjs", "webpack.config.cjs", "coverage"],
}, {
files: ["**/*.ts"],
plugins: {
Expand Down Expand Up @@ -31,4 +31,4 @@ export default [{
"no-throw-literal": "warn",
semi: "off",
},
}];
}];
Loading

0 comments on commit 60fb94b

Please sign in to comment.