From 77f71aac239bb7e95093f4869ebc860cf1c49d62 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Mon, 8 Apr 2024 18:30:45 +0400 Subject: [PATCH] disable the tests --- __tests__/integration/community.test.ts | 54 ++++++++++++------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/__tests__/integration/community.test.ts b/__tests__/integration/community.test.ts index 9a3a64b..78f6f59 100644 --- a/__tests__/integration/community.test.ts +++ b/__tests__/integration/community.test.ts @@ -1,30 +1,30 @@ -import request from 'supertest'; -import httpStatus from 'http-status'; -import app from '../../src/app'; -import setupTestDB, { cleanUpTenantDatabases } from '../utils/setupTestDB'; -import { userOne, insertUsers, userTwo, userThree } from '../fixtures/user.fixture'; -import { userOneAccessToken, userTwoAccessToken } from '../fixtures/token.fixture'; -import { User, Community, ICommunityUpdateBody, DatabaseManager } from '@togethercrew.dev/db'; -import { communityOne, communityTwo, communityThree, insertCommunities } from '../fixtures/community.fixture'; -import { - platformOne, - platformTwo, - platformThree, - platformFour, - platformFive, - insertPlatforms, -} from '../fixtures/platform.fixture'; -import { discordRole1, discordRole2, discordRole3, discordRole4, insertRoles } from '../fixtures/discord/roles.fixture'; -import { - discordGuildMember1, - discordGuildMember2, - discordGuildMember3, - discordGuildMember4, - insertGuildMembers, -} from '../fixtures/discord/guildMember.fixture'; -import { Connection } from 'mongoose'; - -setupTestDB(); +// import request from 'supertest'; +// import httpStatus from 'http-status'; +// import app from '../../src/app'; +// import setupTestDB, { cleanUpTenantDatabases } from '../utils/setupTestDB'; +// import { userOne, insertUsers, userTwo, userThree } from '../fixtures/user.fixture'; +// import { userOneAccessToken, userTwoAccessToken } from '../fixtures/token.fixture'; +// import { User, Community, ICommunityUpdateBody, DatabaseManager } from '@togethercrew.dev/db'; +// import { communityOne, communityTwo, communityThree, insertCommunities } from '../fixtures/community.fixture'; +// import { +// platformOne, +// platformTwo, +// platformThree, +// platformFour, +// platformFive, +// insertPlatforms, +// } from '../fixtures/platform.fixture'; +// import { discordRole1, discordRole2, discordRole3, discordRole4, insertRoles } from '../fixtures/discord/roles.fixture'; +// import { +// discordGuildMember1, +// discordGuildMember2, +// discordGuildMember3, +// discordGuildMember4, +// insertGuildMembers, +// } from '../fixtures/discord/guildMember.fixture'; +// import { Connection } from 'mongoose'; + +// setupTestDB(); // describe('Community routes', () => { // let connection: Connection;