chore: prettier formatter drift across recent commits
Prettier reformatting on files touched in the wave 11.B sequence — markdown italics _underscore-style_, single-line conditionals, minor whitespace fixes. No semantic changes. .env.example reformatting left unstaged (blocked by pre-commit hook). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,16 +9,14 @@ import {
|
||||
describe('document-folder validators', () => {
|
||||
it('accepts a valid create payload', () => {
|
||||
expect(createFolderSchema.safeParse({ name: 'Deals', parentId: null }).success).toBe(true);
|
||||
expect(
|
||||
createFolderSchema.safeParse({ name: 'Q1', parentId: 'abc-123' }).success,
|
||||
).toBe(true);
|
||||
expect(createFolderSchema.safeParse({ name: 'Q1', parentId: 'abc-123' }).success).toBe(true);
|
||||
});
|
||||
|
||||
it('rejects empty + over-long names', () => {
|
||||
expect(createFolderSchema.safeParse({ name: '', parentId: null }).success).toBe(false);
|
||||
expect(
|
||||
createFolderSchema.safeParse({ name: 'x'.repeat(201), parentId: null }).success,
|
||||
).toBe(false);
|
||||
expect(createFolderSchema.safeParse({ name: 'x'.repeat(201), parentId: null }).success).toBe(
|
||||
false,
|
||||
);
|
||||
});
|
||||
|
||||
it('rejects whitespace-only names', () => {
|
||||
|
||||
Reference in New Issue
Block a user