Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-01-05 19:29:54 -08:00
parent 006663d83c
commit 0f8dfe528f
2 changed files with 3 additions and 3 deletions

View File

@ -12,12 +12,12 @@ export const TEST_SETTINGS = {
appearance: {
theme: Themes.Dark,
},
show_debug_panel: true,
},
modeling: {
base_unit: 'in',
mouse_controls: 'zoo',
camera_projection: 'perspective',
show_debug_panel: true,
enable_ssao: false,
},
project: {
@ -63,12 +63,12 @@ export const TEST_SETTINGS_CORRUPTED = {
appearance: {
theme: Themes.Dark,
},
show_debug_panel: true,
},
modeling: {
base_unit: 'invalid' as any,
mouse_controls: `() => alert('hack the planet')` as any,
camera_projection: 'perspective',
show_debug_panel: true,
},
project: {
default_project_name: false as any,

View File

@ -836,7 +836,7 @@ test.describe('Testing settings', () => {
// but "show debug panel" set to false
appSettings: {
...TEST_SETTINGS,
modeling: { ...TEST_SETTINGS.modeling, show_debug_panel: false },
app: { ...TEST_SETTINGS.app, show_debug_panel: false },
},
},
async ({ context, page, homePage }) => {