style: apply eslint --fix (semi, indent 4); no behavior change, Jest 68/68
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 299063@bnt-lap001 Assistant-Session: 53eb1e1c-c13a-4277-9ce2-3702960d93f7
This commit is contained in:
parent
de47bf1d2b
commit
652cb4e255
43 changed files with 1081 additions and 1115 deletions
|
|
@ -12,7 +12,6 @@ const RefactorTestRunner = require('./refactor-test-runner.js');
|
|||
const runner = new RefactorTestRunner();
|
||||
|
||||
runner.describe('Real User Functionality Tests', () => {
|
||||
|
||||
runner.it('should allow users to edit content and see changes in DOM', () => {
|
||||
// Load all extracted components
|
||||
const sectionModule = require('../core/section-manager.js');
|
||||
|
|
@ -40,7 +39,7 @@ runner.describe('Real User Functionality Tests', () => {
|
|||
documentControls.create();
|
||||
|
||||
// Create sections from test markdown
|
||||
const testMarkdown = `# Original Title\nOriginal content that should be editable.`;
|
||||
const testMarkdown = '# Original Title\nOriginal content that should be editable.';
|
||||
const sections = sectionManager.createSectionsFromMarkdown(testMarkdown);
|
||||
domRenderer.renderAllSections(sections);
|
||||
|
||||
|
|
@ -113,7 +112,7 @@ runner.describe('Real User Functionality Tests', () => {
|
|||
documentControls.create();
|
||||
|
||||
// Create and modify content
|
||||
const testMarkdown = `# Test Section\nOriginal content for reset test.`;
|
||||
const testMarkdown = '# Test Section\nOriginal content for reset test.';
|
||||
const sections = sectionManager.createSectionsFromMarkdown(testMarkdown);
|
||||
domRenderer.renderAllSections(sections);
|
||||
|
||||
|
|
@ -161,7 +160,7 @@ runner.describe('Real User Functionality Tests', () => {
|
|||
const sectionManager = new SectionManager();
|
||||
const domRenderer = new DOMRenderer(sectionManager, container);
|
||||
|
||||
const testMarkdown = `# Cancel Test\nContent that should remain unchanged.`;
|
||||
const testMarkdown = '# Cancel Test\nContent that should remain unchanged.';
|
||||
const sections = sectionManager.createSectionsFromMarkdown(testMarkdown);
|
||||
domRenderer.renderAllSections(sections);
|
||||
|
||||
|
|
@ -282,4 +281,4 @@ if (require.main === module) {
|
|||
console.log('✅ Real user functionality tests completed');
|
||||
console.log('These tests validate what users actually experience, not just internal APIs');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue