Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
catalin-oancea committed Oct 31, 2024
1 parent 068a657 commit 3f1f9ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 32 deletions.
29 changes: 0 additions & 29 deletions api/test/integration/map/map.spec.ts

This file was deleted.

2 changes: 1 addition & 1 deletion api/test/integration/project-map/project-map.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { HttpStatus } from '@nestjs/common';
import { Project } from '@shared/entities/projects.entity';
import { Country } from '@shared/entities/country.entity';
import { projectsContract } from '@shared/contracts/projects.contract';
import { ECOSYSTEM } from '@shared/entities/base-data.entity';
import { ECOSYSTEM } from '@shared/entities/ecosystem.enum';

describe('Project Map', () => {
let testManager: TestManager;
Expand Down
3 changes: 2 additions & 1 deletion shared/dtos/projects/projects-map.dto.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { z } from "zod";
import { FeatureCollection, Geometry } from "geojson";
import { ProjectGeoPropertiesSchema } from "@shared/schemas/geometries/projects";
import { ACTIVITY, ECOSYSTEM } from "@shared/entities/base-data.entity";
import {
PROJECT_PRICE_TYPE,
PROJECT_SIZE_FILTER,
} from "@shared/entities/projects.entity";
import { ACTIVITY } from "@shared/entities/activity.enum";
import { ECOSYSTEM } from "@shared/entities/ecosystem.enum";

export type ProjectGeoProperties = z.infer<typeof ProjectGeoPropertiesSchema>;

Expand Down
2 changes: 1 addition & 1 deletion shared/lib/db-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function clearTestDataFromDatabase(

export async function clearTablesByEntities(
dataSource: DataSource,
entities: EntityTarget<ObjectLiteral>[],
entities: EntityTarget<ObjectLiteral>[]
): Promise<void> {
for (const entity of entities) {
const repo = dataSource.getRepository(entity);
Expand Down

0 comments on commit 3f1f9ee

Please sign in to comment.