Skip to content

Commit 4056243

Browse files
committed
Remove EarlyConversations default from test suite
1 parent 58bcd87 commit 4056243

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

test/engagement-workflow.e2e-spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ describe('Engagement-Workflow e2e', () => {
4545
const transProject = await createProject(app, {
4646
type: ProjectType.MomentumTranslation,
4747
});
48-
expect(transProject.step.value).toBe(ProjectStep.EarlyConversations);
4948

5049
const langEngagement = await createLanguageEngagement(app, {
5150
projectId: transProject.id,

test/engagement.e2e-spec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,6 @@ describe('Engagement e2e', () => {
10161016
});
10171017

10181018
const project = await createProject(app, {
1019-
step: ProjectStep.EarlyConversations,
10201019
primaryLocationId: location.id,
10211020
});
10221021
await createLanguageEngagement(app, {
@@ -1116,7 +1115,6 @@ describe('Engagement e2e', () => {
11161115
return location;
11171116
});
11181117
const project = await createProject(app, {
1119-
step: ProjectStep.EarlyConversations,
11201118
primaryLocationId: location.id,
11211119
});
11221120
expect(project.status).toBe(ProjectStatus.InDevelopment);
@@ -1307,7 +1305,6 @@ describe('Engagement e2e', () => {
13071305
return location;
13081306
});
13091307
const project = await createProject(app, {
1310-
step: ProjectStep.EarlyConversations,
13111308
primaryLocationId: location.id,
13121309
});
13131310
const engagement = await createLanguageEngagement(app, {

test/project-workflow.e2e-spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,6 @@ describe('Project-Workflow e2e', () => {
176176
});
177177
expect(result.estimatedSubmission.value).toBe('2020-01-01');
178178

179-
expect(result.step.value).toBe(ProjectStep.EarlyConversations);
180-
181179
// TODO: Upload mock UBT file
182180
// TODO: Upload mock Approval docs
183181
// Add team members

test/utility/create-project.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import { faker } from '@faker-js/faker';
22
import { CalendarDate, isValidId } from '~/common';
3-
import {
4-
CreateProject,
5-
ProjectStep,
6-
ProjectType,
7-
} from '../../src/components/project/dto';
3+
import { CreateProject, ProjectType } from '../../src/components/project/dto';
84
import { TestApp } from './create-app';
95
import { createRegion } from './create-region';
106
import { fragments, RawProject } from './fragments';
@@ -20,7 +16,6 @@ export async function createProject(
2016
type: ProjectType.MomentumTranslation,
2117
mouStart: CalendarDate.fromISO('1991-01-01'),
2218
mouEnd: CalendarDate.fromISO('1992-01-01'),
23-
step: ProjectStep.EarlyConversations,
2419
tags: ['tag1', 'tag2'],
2520
fieldRegionId:
2621
input.fieldRegionId ||

0 commit comments

Comments
 (0)