diff --git a/packages/api/schema/stryker-core.json b/packages/api/schema/stryker-core.json index ac111744a6..d7301b0297 100644 --- a/packages/api/schema/stryker-core.json +++ b/packages/api/schema/stryker-core.json @@ -63,7 +63,7 @@ "reportType": { "description": "Indicates wether to send a full report (inc. source code and mutant results) or only the mutation score.", "$ref": "#/definitions/reportType", - "default": "mutationScore" + "default": "full" } } }, diff --git a/packages/api/src/config/Config.ts b/packages/api/src/config/Config.ts index 4c42f4fc3b..b7e4ed5a39 100644 --- a/packages/api/src/config/Config.ts +++ b/packages/api/src/config/Config.ts @@ -47,7 +47,7 @@ export default class Config implements StrykerOptions { */ public dashboard: DashboardOptions = { baseUrl: 'https://dashboard.stryker-mutator.io/api/reports', - reportType: ReportType.MutationScore + reportType: ReportType.Full }; public tempDirName: string = defaultTempDirName; diff --git a/packages/api/test/unit/config/Config.spec.ts b/packages/api/test/unit/config/Config.spec.ts index e648b34068..c8993f5a90 100644 --- a/packages/api/test/unit/config/Config.spec.ts +++ b/packages/api/test/unit/config/Config.spec.ts @@ -40,7 +40,7 @@ describe('Config', () => { }); const expected: DashboardOptions = { baseUrl: 'https://dashboard.stryker-mutator.io/api/reports', - reportType: ReportType.MutationScore, + reportType: ReportType.Full, project: 'my-pet-shop' }; expect(sut.dashboard).deep.eq(expected); diff --git a/packages/api/testResources/module/useCore.ts b/packages/api/testResources/module/useCore.ts index 321580e58e..21f4f87045 100644 --- a/packages/api/testResources/module/useCore.ts +++ b/packages/api/testResources/module/useCore.ts @@ -21,7 +21,7 @@ const optionsAllArgs: StrykerOptions = { transpilers: [], dashboard: { baseUrl: 'baseUrl', - reportType: ReportType.MutationScore, + reportType: ReportType.Full, module: 'module', project: 'project', version: 'version'