mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-11 03:03:43 +08:00
feat: 更新 deploy.sh 脚本以支持 macOS 和多种 Linux 发行版,删除无用的测试文件
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { OrderController } from './order.controller';
|
||||
|
||||
describe('OrderController', () => {
|
||||
let controller: OrderController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [OrderController],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<OrderController>(OrderController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
||||
@@ -1,18 +0,0 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { OrderService } from './order.service';
|
||||
|
||||
describe('OrderService', () => {
|
||||
let service: OrderService;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [OrderService],
|
||||
}).compile();
|
||||
|
||||
service = module.get<OrderService>(OrderService);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(service).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user