Hi, i'm getting the following error while runnning test:
FAIL src/modules/crops/controllers/cropType.service.spec.ts
● Test suite failed to run
src/modules/crops/controllers/cropType.service.spec.ts:1:1 - error TS2304: Cannot find name 'cropType'.
1 cropType.service.spec.ts
~~~~~~~~
import { CropTypeService } from '../services/cropType.service';
import { getRepositoryToken } from '@nestjs/typeorm';
import { FindOneOptions, Repository } from 'typeorm';
import { CropType } from '../entities/cropType.entity';
import { Test, TestingModule } from '@nestjs/testing';
import { CropsConnectionService } from './crops.connection.service';
import { identity } from 'rxjs';
import { Crop } from '../entities/crop.entity';
import { Console } from 'console';
cropType.service.spec.ts
what could it be?