chore(integration): snapshot local main worktree

This commit is contained in:
inman committed 2026-08-31 10:23:21 +08:00
1 parent 48a9189939
commit 33fb31fb28
116 files changed
+8108 -3026

No files matched your search

+11
View File
@@ -47,6 +47,17 @@ describe('after-pack package hygiene', () => {
);
});
it('rejects the Makelore project catalog in packaged app output', () => {
const appOutDir = makeTempDir();
const resourcesDir = join(appOutDir, 'resources');
mkdirSync(resourcesDir, { recursive: true });
writeFileSync(join(resourcesDir, 'makelore-projects.json'), JSON.stringify({ projects: {} }));
expect(() => afterPack.assertNoPersistedUserData?.(appOutDir)).toThrow(
/Persisted Makelore user data must not be packaged/,
);
});
it('allows normal package resources without persisted user data files', () => {
const appOutDir = makeTempDir();
const resourcesDir = join(appOutDir, 'resources', 'resources', 'icons');