Skip to content

Commit

Permalink
integration test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Nov 21, 2024
1 parent 9a5bb48 commit d430a8e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,28 @@ const configs = testSuiteFolderNames.map((folderName) => ({
color: true,
timeout: 100000,
require: ['./out/test/mockSetup.js'], // mocks are shared for all test suites
// reporter: path.join(__dirname, '.mocha-reporter.js'),
reporter: 'json', // "lcov" also generates HTML
reporterOptions: {
jsonReporterOptions: {
output: '.integration-tests.json',
},
},
},
}));

const config = defineConfig(configs);
const config = defineConfig({
tests: configs,
coverage: {
includeAll: true,
exclude: [`./out`],
reporter: 'json', // "lcov" also generates HTML
reporterOptions: {
jsonReporterOptions: {
output: '.integration-tests.json',
},
},
},
});

export default config;

0 comments on commit d430a8e

Please sign in to comment.