Testing
This commit is contained in:
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
@@ -19,7 +19,6 @@ jobs:
|
||||
docker push ghcr.io/wagnerbastian/keyvault_pro_api:latest
|
||||
build_and_publish_frontend:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test_frontend]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build and Push Image
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { SystemService } from './system.service';
|
||||
import { AppService } from './app.service';
|
||||
|
||||
describe('SystemService', () => {
|
||||
let service: SystemService;
|
||||
describe('AppService', () => {
|
||||
let service: AppService;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [SystemService],
|
||||
providers: [AppService],
|
||||
}).compile();
|
||||
|
||||
service = module.get<SystemService>(SystemService);
|
||||
service = module.get<AppService>(AppService);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
Reference in New Issue
Block a user