Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: fix frontend test snapshot

Myles Scolnickc6312ad2d134
diff --git a/frontend/src/components/editor/__tests__/data-attributes.test.tsx b/frontend/src/components/editor/__tests__/data-attributes.test.tsx
index be0eb009f8..0fecce7e41 100644
--- a/frontend/src/components/editor/__tests__/data-attributes.test.tsx
+++ b/frontend/src/components/editor/__tests__/data-attributes.test.tsx
@@ -53,6 +53,7 @@ describe("Cell data attributes", () => {
auto_instantiate: false,
auto_reload: "off",
on_cell_change: "lazy",
+ watcher_on_save: "lazy",
},
server: {
browser: "default",
diff --git a/frontend/src/core/config/__tests__/config-schema.test.ts b/frontend/src/core/config/__tests__/config-schema.test.ts
index 26da18cae3..c5950f1ed1 100644
--- a/frontend/src/core/config/__tests__/config-schema.test.ts
+++ b/frontend/src/core/config/__tests__/config-schema.test.ts
@@ -67,6 +67,7 @@ test("default UserConfig - empty", () => {
"auto_instantiate": true,
"auto_reload": "off",
"on_cell_change": "autorun",
+ "watcher_on_save": "lazy",
},
"save": {
"autosave": "after_delay",
@@ -119,6 +120,7 @@ test("default UserConfig - one level", () => {
"auto_instantiate": true,
"auto_reload": "off",
"on_cell_change": "autorun",
+ "watcher_on_save": "lazy",
},
"save": {
"autosave": "after_delay",
diff --git a/frontend/src/core/config/config-schema.ts b/frontend/src/core/config/config-schema.ts
index 51eafc2d76..a3f1af9e4d 100644
--- a/frontend/src/core/config/config-schema.ts
+++ b/frontend/src/core/config/config-schema.ts
@@ -78,6 +78,7 @@ export const UserConfigSchema = z
auto_instantiate: z.boolean().default(true),
on_cell_change: z.enum(["lazy", "autorun"]).default("autorun"),
auto_reload: z.enum(["off", "lazy", "autorun"]).default("off"),
+ watcher_on_save: z.enum(["lazy", "autorun"]).default("lazy"),
})
.default({}),
display: z