feat(editor): add section settings property editor API and sidebar modal

This commit is contained in:
Daniel S
2026-08-09 21:24:16 +02:00
parent 58fc8e51cd
commit a35efb2726
4 changed files with 185 additions and 2 deletions

View File

@@ -2,9 +2,10 @@ import { describe, it, expect, beforeEach } from 'vitest';
import fs from 'node:fs/promises';
import path from 'node:path';
const DATA_DIR = process.env.DATA_DIR || path.join(process.cwd(), 'app', 'data');
const DATA_DIR = path.join(process.cwd(), 'app', 'test_data_sections');
const draftPath = path.join(DATA_DIR, 'site.config.draft.json');
describe('Editor Sections API Test', () => {
beforeEach(async () => {
await fs.mkdir(DATA_DIR, { recursive: true });