Skip to content

Commit

Permalink
tests adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Greschus authored and Wolfgang Greschus committed Nov 28, 2023
1 parent 2c5948a commit cb9eb5c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApiProperty } from '@nestjs/swagger';
import { ContentElementType } from '@shared/domain';
import { TimestampsResponse } from '../timestamps.response';
import { ContentElementType } from '@shared/domain/domainobject';

Check failure on line 3 in apps/server/src/modules/board/controller/dto/element/drawing-element.response.ts

View workflow job for this annotation

GitHub Actions / nest_lint

`@shared/domain/domainobject` import should occur before import of `../timestamps.response`

export class DrawingElementContent {
constructor({ description }: DrawingElementContent) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ContentElementType } from '@shared/domain';

Check failure on line 1 in apps/server/src/modules/board/controller/mapper/drawing-element-response.mapper.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Delete `⏎`
import { DrawingElement } from '@shared/domain/domainobject/board/drawing-element.do';
import { ContentElementType } from '@shared/domain/domainobject';
import { DrawingElementContent, DrawingElementResponse } from '../dto/element/drawing-element.response';
import { TimestampsResponse } from '../dto';
import { BaseResponseMapper } from './base-mapper.interface';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Entity, Index, Property } from '@mikro-orm/core';
import { EntityId } from '@shared/domain';
import { BaseEntityWithTimestamps } from '@shared/domain/entity/base.entity';
import { EntityId } from '@shared/domain/types';

export interface RegistrationPinEntityProps {
id?: EntityId;
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/modules/tldraw/tldraw-test.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CoreModule } from '@src/core';
import { LoggerModule } from '@src/core/logger';
import { AuthenticationModule } from '@modules/authentication/authentication.module';
import { AuthorizationModule } from '@modules/authorization';
import { Course, User } from '@shared/domain';
import { Course, User } from '@shared/domain/entity';
import { AuthenticationApiModule } from '../authentication/authentication-api.module';
import { TldrawWsModule } from './tldraw-ws.module';
import { TldrawWs } from './controller';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* istanbul ignore file */
import { DrawingElementNode, DrawingElementNodeProps } from '@shared/domain';

import { DrawingElementNode, DrawingElementNodeProps } from '@shared/domain/entity';
import { BaseFactory } from '../base.factory';

export const drawingElementNodeFactory = BaseFactory.define<DrawingElementNode, DrawingElementNodeProps>(
Expand Down

0 comments on commit cb9eb5c

Please sign in to comment.