Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-dange committed Oct 12, 2023
1 parent c2b4d0f commit ab75aa6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/Seeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ async function seed(): Promise<void> {
accessType: UserAccessType.MERCH_STORE_DISTRIBUTOR,
});

// user social media testing
const USER_SOCIAL_MEDIA_1 = UserFactory.fake();
const USER_SOCIAL_MEDIA_1_FACEBOOK = UserSocialMediaFactory.fake(
{ user: USER_SOCIAL_MEDIA_1, type: SocialMediaType.FACEBOOK },
Expand All @@ -141,7 +142,6 @@ async function seed(): Promise<void> {
{ user: USER_SOCIAL_MEDIA_3, type: SocialMediaType.LINKEDIN },
);

// one with all types
const USER_SOCIAL_MEDIA_ALL = UserFactory.fake();
const USER_SOCIAL_MEDIA_ALL_FACEBOOK = UserSocialMediaFactory.fake(
{ user: USER_SOCIAL_MEDIA_ALL, type: SocialMediaType.FACEBOOK },
Expand Down Expand Up @@ -707,11 +707,6 @@ async function seed(): Promise<void> {
USER_SOCIAL_MEDIA_ALL_LINKEDIN, USER_SOCIAL_MEDIA_ALL_DEVPOST, USER_SOCIAL_MEDIA_ALL_TWITTER,
USER_SOCIAL_MEDIA_ALL_PORTFOLIO, USER_SOCIAL_MEDIA_ALL_EMAIL)
.write();

console.log(USER_SOCIAL_MEDIA_1.uuid);
console.log(USER_SOCIAL_MEDIA_2.uuid);
console.log(USER_SOCIAL_MEDIA_3.uuid);
console.log(USER_SOCIAL_MEDIA_ALL.uuid);
}


Expand Down

0 comments on commit ab75aa6

Please sign in to comment.