Skip to content

Commit

Permalink
disable the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Apr 8, 2024
1 parent 2ee5784 commit 77f71aa
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions __tests__/integration/community.test.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 77f71aa

Please sign in to comment.