chore: Remove redundant import of authentication rule

This commit is contained in:
Faruk AYDIN
2024-01-15 15:31:20 +01:00
parent e6180bdfaa
commit c5bf66f462

View File

@@ -2,11 +2,7 @@ import { describe, it, expect, vi } from 'vitest';
import { allow } from 'graphql-shield';
import jwt from 'jsonwebtoken';
import User from '../models/user.js';
import {
isAuthenticated,
isAuthenticatedRule,
authenticationRules,
} from './authentication.js';
import { isAuthenticated, authenticationRules } from './authentication.js';
vi.mock('jsonwebtoken');
vi.mock('../models/user.js');