Spaces:
Runtime error
Runtime error
Download src/app/posts/posts.controller.spec.ts from WaiYanLynn/meow-map: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/spaces/WaiYanLynn/meow-map/resolve/main/src/app/posts/posts.controller.spec.ts
- Command line
-
hf download hf://spaces/WaiYanLynn/meow-map/src/app/posts/posts.controller.spec.ts
-
curl -L -o posts.controller.spec.ts https://huggingface.co/spaces/WaiYanLynn/meow-map/resolve/main/src/app/posts/posts.controller.spec.ts
566 Bytes
| import { Test, TestingModule } from '@nestjs/testing'; | |
| import { PostsController } from './posts.controller'; | |
| import { PostsService } from './posts.service'; | |
| describe('PostsController', () => { | |
| let controller: PostsController; | |
| beforeEach(async () => { | |
| const module: TestingModule = await Test.createTestingModule({ | |
| controllers: [PostsController], | |
| providers: [PostsService], | |
| }).compile(); | |
| controller = module.get<PostsController>(PostsController); | |
| }); | |
| it('should be defined', () => { | |
| expect(controller).toBeDefined(); | |
| }); | |
| }); | |