|
@@ -0,0 +1,22 @@
|
|
|
+import { Test, TestingModule } from '@nestjs/testing';
|
|
|
+import { FisFingerprintController } from './fis-fingerprint.controller';
|
|
|
+import { FisFingerprintService } from './fis-fingerprint.service';
|
|
|
+
|
|
|
+describe('FisFingerprintController', () => {
|
|
|
+ let fisFingerprintController: FisFingerprintController;
|
|
|
+
|
|
|
+ beforeEach(async () => {
|
|
|
+ const app: TestingModule = await Test.createTestingModule({
|
|
|
+ controllers: [FisFingerprintController],
|
|
|
+ providers: [FisFingerprintService],
|
|
|
+ }).compile();
|
|
|
+
|
|
|
+ fisFingerprintController = app.get<FisFingerprintController>(FisFingerprintController);
|
|
|
+ });
|
|
|
+
|
|
|
+ describe('root', () => {
|
|
|
+ it('should return "Hello World!"', () => {
|
|
|
+ expect(fisFingerprintController.getHello()).toBe('Hello World!');
|
|
|
+ });
|
|
|
+ });
|
|
|
+});
|