From c5bf66f462422de392e697960bdea8a5179c85d5 Mon Sep 17 00:00:00 2001 From: Faruk AYDIN Date: Mon, 15 Jan 2024 15:31:20 +0100 Subject: [PATCH] chore: Remove redundant import of authentication rule --- packages/backend/src/helpers/authentication.test.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/backend/src/helpers/authentication.test.js b/packages/backend/src/helpers/authentication.test.js index 8c448061..80ce8c18 100644 --- a/packages/backend/src/helpers/authentication.test.js +++ b/packages/backend/src/helpers/authentication.test.js @@ -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');