Skip to content

Commit

Permalink
Change tests to import supertest correctly #185
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Feb 5, 2025
1 parent e38924f commit 909236f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/acceptance/account/auth/getUserAcceptance.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeAll, describe, beforeEach, afterAll, it } from 'vitest';
import { INestApplication } from '@nestjs/common';
import request = require('supertest');
import request from 'supertest';
import { MikroORM } from '@mikro-orm/core';
import { createApplication, truncateTables } from '@test/acceptance/createApplication';
import { UserPrimitives } from '@src/account/domain/user/user';
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/account/auth/signUpAcceptance.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeAll, describe, beforeEach, afterAll, it } from 'vitest';
import { INestApplication } from '@nestjs/common';
import request = require('supertest');
import request from 'supertest';
import { MikroORM } from '@mikro-orm/core';
import { createApplication, truncateTables } from '@test/acceptance/createApplication';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeAll, describe, beforeEach, afterAll, it } from 'vitest';
import { INestApplication } from '@nestjs/common';
import request = require('supertest');
import request from 'supertest';
import { MikroORM } from '@mikro-orm/core';
import { createApplication, truncateTables } from '@test/acceptance/createApplication';
import CountryMother from '@test/unit/languages/domain/country/countryMother';
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/languages/term/getTermAcceptance.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeAll, describe, beforeEach, afterAll, expect, it } from 'vitest';
import { INestApplication } from '@nestjs/common';
import request = require('supertest');
import request from 'supertest';
import { MikroORM } from '@mikro-orm/core';
import { createApplication, truncateTables, USER_ID_LOGGED } from '@test/acceptance/createApplication';
import WordMother from '@test/unit/languages/domain/term/word/wordMother';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { beforeAll, describe, beforeEach, afterAll, it, expect } from 'vitest';
import { INestApplication } from '@nestjs/common';
import request = require('supertest');
import request from 'supertest';
import { MikroORM } from '@mikro-orm/core';
import { createApplication, truncateTables, USER_ID_LOGGED } from '@test/acceptance/createApplication';
import WordMother from '@test/unit/languages/domain/term/word/wordMother';
Expand Down

0 comments on commit 909236f

Please sign in to comment.