ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
import assert from 'node:assert/strict';
import test from 'node:test';
import {
checkFileManagerBoundaries,
inspectFileManagerSource,
} from '../../../../scripts/check-file-manager-boundaries.mjs';
test('File Manager keeps transport, orchestration and views separate', () => {
assert.doesNotThrow(checkFileManagerBoundaries);
});
test('boundary guard rejects dependencies that would recombine the feature', () => {
for (const [path, source] of [
['pages/FileManager.jsx', 'async function load() { await api.browseFiles(); }'],
['pages/FileManager.jsx', "fetch('/api/v1/files').then(render);"],
['pages/FileManager.jsx', "fileApi.browse('/home');"],
['components/file-manager/FileManagerListing.jsx', 'async function load() { await request(); }'],
['components/file-manager/FileManagerListing.jsx', "import { api } from '@/services/api';"],
['components/file-manager/hooks/useFileEditor.js', "import Page from '@/pages/FileManager';"],
['components/file-manager/FileManagerSidebar.jsx', "import useFileTree from './hooks/useFileTree';"],
])
assert.ok(inspectFileManagerSource(path, source).length > 0, path);
});