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