test(35-03): add failing tests for insertImage and colorpicker
- insertImage C4 table expects escaped markdown/html/css/text snippets - ColorPickerField sync cases; stubs return empty until GREEN Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
7
admin/src/components/mail/insertImage.ts
Normal file
7
admin/src/components/mail/insertImage.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// Stub for TDD RED (35-03 Task 5): real escaping lands in GREEN.
|
||||
export type InsertImageLanguage = 'markdown' | 'html' | 'css' | 'text'
|
||||
|
||||
/** Builds the snippet inserted into a mail body or code editor. */
|
||||
export function insertImage(_language: InsertImageLanguage, _url: string, _alt: string): string {
|
||||
return ''
|
||||
}
|
||||
Reference in New Issue
Block a user