chore(integration): snapshot local main worktree
This commit is contained in:
1 parent
48a9189939
commit
33fb31fb28
116 files changed
+8108
-3026
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user