Skip to content

Commit 57f8523

Browse files
committed
fix: tests
1 parent 7679f0b commit 57f8523

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

__tests__/common/profile/import.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ describe('UserExperienceType work import', () => {
5959
verified: false,
6060
createdAt: expect.any(Date),
6161
updatedAt: expect.any(Date),
62+
flags: {},
6263
});
6364
const skills = await con
6465
.getRepository(UserExperienceSkill)
@@ -96,6 +97,7 @@ describe('UserExperienceType work import', () => {
9697
updatedAt: expect.any(Date),
9798
userId: 'user-work-2',
9899
verified: false,
100+
flags: {},
99101
});
100102
});
101103
});
@@ -131,6 +133,7 @@ describe('UserExperienceType education import', () => {
131133
grade: null,
132134
createdAt: expect.any(Date),
133135
updatedAt: expect.any(Date),
136+
flags: {},
134137
});
135138
});
136139

@@ -163,6 +166,7 @@ describe('UserExperienceType education import', () => {
163166
grade: null,
164167
createdAt: expect.any(Date),
165168
updatedAt: expect.any(Date),
169+
flags: {},
166170
});
167171
});
168172
});
@@ -200,6 +204,7 @@ describe('UserExperienceType certification import', () => {
200204
url: null,
201205
createdAt: expect.any(Date),
202206
updatedAt: expect.any(Date),
207+
flags: {},
203208
});
204209
});
205210

@@ -235,6 +240,7 @@ describe('UserExperienceType certification import', () => {
235240
url: null,
236241
createdAt: expect.any(Date),
237242
updatedAt: expect.any(Date),
243+
flags: {},
238244
});
239245
});
240246
});
@@ -273,6 +279,7 @@ describe('UserExperienceType project import', () => {
273279
url: null,
274280
createdAt: expect.any(Date),
275281
updatedAt: expect.any(Date),
282+
flags: {},
276283
});
277284
expect(skills.map((s) => s.value).sort()).toEqual(
278285
['GraphQL', 'Node.js'].sort(),
@@ -308,6 +315,7 @@ describe('UserExperienceType project import', () => {
308315
url: null,
309316
createdAt: expect.any(Date),
310317
updatedAt: expect.any(Date),
318+
flags: {},
311319
});
312320
});
313321
});

0 commit comments

Comments
 (0)