refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654)
refactor(core): Reduce boilterplate code in between tests also cleaned up some imports, and fixed the tests in node.js 20
This commit is contained in:
committed by
GitHub
parent
3e07ffa73e
commit
b895ba438a
@@ -1,6 +1,6 @@
|
||||
import type { RequestHandler } from 'express';
|
||||
import { Container } from 'typedi';
|
||||
import { isSourceControlLicensed } from '../sourceControlHelper.ee';
|
||||
import Container from 'typedi';
|
||||
import { SourceControlPreferencesService } from '../sourceControlPreferences.service.ee';
|
||||
|
||||
export const sourceControlLicensedAndEnabledMiddleware: RequestHandler = (req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user