Skip to content

Commit 1f81a0d

Browse files
author
mdatelle
committed
fix: fix linting error
1 parent 4e48056 commit 1f81a0d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

api/src/unraid-api/graph/resolvers/auth/auth.resolver.spec.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { AuthZService } from 'nest-authz';
22
import { type ApiKey } from '@app/graphql/generated/api/types';
33
import { describe, it, expect, vi, beforeAll } from 'vitest';
44
import { newEnforcer } from 'casbin';
5-
import { Test, TestingModule } from '@nestjs/testing';
65

76
import { ApiKeyService } from '@app/unraid-api/auth/api-key.service';
87
import { AuthResolver } from './auth.resolver';
@@ -41,23 +40,6 @@ describe('AuthResolver', () => {
4140
authService = new AuthService(usersService, cookieService, apiKeyService, authzService);
4241

4342
resolver = new AuthResolver(authService, apiKeyService);
44-
45-
const module: TestingModule = await Test.createTestingModule({
46-
providers: [
47-
{
48-
provide: AuthResolver,
49-
useValue: resolver,
50-
},
51-
{
52-
provide: AuthService,
53-
useValue: authService,
54-
},
55-
{
56-
provide: ApiKeyService,
57-
useValue: apiKeyService,
58-
},
59-
],
60-
}).compile();
6143
});
6244

6345
describe('apiKeys', () => {

0 commit comments

Comments
 (0)