[art-prep] Phase2Pictures: Add the fox, berries, bush, paths and lanterns to the art board, each card marked with its phase
This commit is contained in:
@@ -17,9 +17,10 @@ describe('STYLE.md', () => {
|
||||
expect(style.endsWith('book, illustrator or film.')).toBe(true);
|
||||
});
|
||||
|
||||
it('§7 has the eight review points, a point split over two lines read as one', () => {
|
||||
it('§7 has the ten review points, a point split over two lines read as one', () => {
|
||||
const points = reviewPoints(readStyle());
|
||||
expect(points).toHaveLength(8);
|
||||
expect(points).toHaveLength(10);
|
||||
expect(points[8]).toBe("It reads as one young russet fox with a cream mask and a ringed tail, shy and gentle, and nothing like the book's sandy, long-eared fox.");
|
||||
expect(points[3]).toBe('Nothing from the book: no glass dome, screen, tiny planet, desert, child or scarf, and no look of its drawings.');
|
||||
});
|
||||
|
||||
@@ -30,8 +31,8 @@ describe('STYLE.md', () => {
|
||||
});
|
||||
|
||||
describe('the prompts', () => {
|
||||
it('every one starts with STYLE.md §1 word for word: 11 cards and 18 one-at-a-time prompts', () => {
|
||||
expect(allPrompts).toHaveLength(11 + 18);
|
||||
it('every one starts with STYLE.md §1 word for word: 18 cards and 45 one-at-a-time prompts', () => {
|
||||
expect(allPrompts).toHaveLength(18 + 45);
|
||||
for (const p of allPrompts) expect(p.startsWith(style + '\n\nAsset: ')).toBe(true);
|
||||
});
|
||||
|
||||
@@ -54,6 +55,20 @@ describe('the prompts', () => {
|
||||
expect(by.get('care-props-sheet')?.attach).toEqual([]);
|
||||
});
|
||||
|
||||
it('a fox picture asks for the fox sheet, never the rose sheet, and every one-at-a-time fox prompt does too', () => {
|
||||
const by = new Map(data.assets.map((a) => [a.id, a]));
|
||||
expect(by.get('fox-sheet')?.attach).toEqual([]);
|
||||
for (const id of ['fox-trust-sheet', 'fox-moments-sheet']) {
|
||||
const a = by.get(id);
|
||||
expect(a?.attach).toEqual(['fox-sheet']);
|
||||
for (const p of [a?.prompt ?? '', ...(a?.cells ?? []).map((c) => c.prompt)]) {
|
||||
expect(p).toContain('Attach the character sheet fox-sheet as the reference picture');
|
||||
expect(p).not.toContain('rose-sheet');
|
||||
}
|
||||
}
|
||||
for (const id of ['berries-sheet', 'berry-bush-sheet', 'paths-sheet', 'lanterns-sheet']) expect(by.get(id)?.attach).toEqual([]);
|
||||
});
|
||||
|
||||
it('a manifest with a forbidden name never reaches the board', () => {
|
||||
const m = clone(readManifest());
|
||||
(m.assets[1] as { purpose: string }).purpose = 'In the style of Saint-Exupéry';
|
||||
|
||||
Reference in New Issue
Block a user