You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
456 B
15 lines
456 B
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { CryptoService } from './crypto.service';
|
|
|
|
describe('CryptoService', () => {
|
|
let service: CryptoService;
|
|
beforeAll(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [CryptoService],
|
|
}).compile();
|
|
service = module.get<CryptoService>(CryptoService);
|
|
});
|
|
it('should be defined', () => {
|
|
expect(service).toBeDefined();
|
|
});
|
|
});
|