Files
bookorbit/server/src/modules/path/path.module.test.ts
T
neon faee78370d feat(library): rebuild the folder picker as a tree with a live plan
Pick folders from a lazily loaded tree with find-by-name and typed paths, beside a plan showing
the books each organization mode would import, overlaps with other libraries, and folders no
library reads yet. New ManageLibraries /path routes walk folders within entry and time bounds.
Fix the scanner filing a disc-named library folder such as /mnt/disk1 under the folder above it,
and move books already filed there onto their primary file on the next scan.
2026-10-24 04:04:00 +00:00

17 lines
791 B
TypeScript

import 'reflect-metadata';
import { FolderInsightService } from './folder-insight.service';
import { PathController } from './path.controller';
import { PathModule } from './path.module';
import { PathPolicyService } from './path-policy.service';
import { PathRepository } from './path.repository';
import { PathService } from './path.service';
describe('PathModule', () => {
it('registers the path controller, its services and the library folder repository', () => {
expect(Reflect.getMetadata('controllers', PathModule)).toEqual([PathController]);
expect(Reflect.getMetadata('providers', PathModule)).toEqual([PathPolicyService, PathService, PathRepository, FolderInsightService]);
expect(Reflect.getMetadata('exports', PathModule)).toEqual([PathPolicyService]);
});
});