Skip to content

Commit

Permalink
moved folders
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkeksz committed Dec 22, 2023
1 parent 0978ce6 commit f9b3c22
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/apollo-plugins/complexity.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from '@apollo/server'
import {Logger} from '@nestjs/common'
import {GraphqlConfigService} from '../config/graphql/graphql.config.service'
import {GraphqlComplexityLimitException} from '../exceptions/graphql-complexity-limit.exception'
import {GraphqlComplexityLimitException} from '../exceptions/graphql-complexity-limit/graphql-complexity-limit.exception'

@Plugin()
export class ComplexityPlugin implements ApolloServerPlugin {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/email-verification/gql-get-active-devices.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {EmailVerificationCodeInputAttempt} from '../../src/email-verification/en
import {RefreshTokenService} from '../../src/refresh-token/refresh-token.service'
import {GraphqlConfigService} from '../../src/config/graphql/graphql.config.service'
import {ServerConfigService} from '../../src/config/server/server.config.service'

// TODO: разбить по отдельным файлам, чтобы уменьшить размер кода
describe('GetActiveDevices', () => {
let app: INestApplication
let gqlService: GqlTestService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import {EmailVerificationCode} from '../../src/email-verification/entities/email
import {EmailVerificationSendingLimitService} from '../../src/email-verification/email-verification-sending-limit.service'
import {GraphqlConfigService} from '../../src/config/graphql/graphql.config.service'
import {ServerConfigService} from '../../src/config/server/server.config.service'
// TODO: обновить тесты с учетом нового функционала по отправке писем
// TODO: замокать отправку кода через unisender

// TODO: разбить по отдельным файлам, чтобы уменьшить размер кода
describe('sendVerificationCodeToEmail', () => {
let app: INestApplication
let gqlService: GqlTestService
Expand Down
2 changes: 1 addition & 1 deletion test/email-verification/gql-verify-email-code.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {EmailVerificationService} from '../../src/email-verification/email-verif
import {GraphqlConfigService} from '../../src/config/graphql/graphql.config.service'
import {ServerConfigService} from '../../src/config/server/server.config.service'
import {EmailVerificationInputLimitService} from '../../src/email-verification/email-verification-input-limit.service'

// TODO: разбить по отдельным файлам, чтобы уменьшить размер кода
describe('VerifyEmailCode', () => {
let app: INestApplication
let gqlService: GqlTestService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {RefreshToken} from '../../src/refresh-token/entities/refresh-token.entit
import {GraphqlConfigService} from '../../src/config/graphql/graphql.config.service'
import {ServerConfigService} from '../../src/config/server/server.config.service'
import {AuthConfigService} from '../../src/config/auth/auth.config.service'

// TODO: разбить по отдельным файлам, чтобы уменьшить размер кода
describe('deactivateAllRefreshTokens', () => {
let app: INestApplication
let gqlService: GqlTestService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {RefreshToken} from '../../src/refresh-token/entities/refresh-token.entit
import {GraphqlConfigService} from '../../src/config/graphql/graphql.config.service'
import {ServerConfigService} from '../../src/config/server/server.config.service'
import {AuthConfigService} from '../../src/config/auth/auth.config.service'

// TODO: разбить по отдельным файлам, чтобы уменьшить размер кода
describe('deactivateRefreshToken', () => {
let app: INestApplication
let gqlService: GqlTestService
Expand Down
2 changes: 1 addition & 1 deletion test/refresh-token/gql-refresh-tokens.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {GraphqlConfigService} from '../../src/config/graphql/graphql.config.serv
import {ServerConfigService} from '../../src/config/server/server.config.service'
import {RefreshToken} from '../../src/refresh-token/entities/refresh-token.entity'
import {AuthConfigService} from '../../src/config/auth/auth.config.service'

// TODO: разбить по отдельным файлам, чтобы уменьшить размер кода
describe('refreshTokens', () => {
let app: INestApplication
let gqlService: GqlTestService
Expand Down

0 comments on commit f9b3c22

Please sign in to comment.