Add support for more advanced forms of overriding

This commit is contained in:
Dermot Duffy committed 2024-04-13 18:23:11 -07:00
1 parent 0eca5d780c
commit 323925101d
21 files changed
+855 -285

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ import { createConfig } from '../test-utils';
describe('config defaults', () => {
it('should be as expected', () => {
expect(createConfig()).toEqual({
cameras: [],
cameras: [{}],
cameras_global: {
dependencies: {
all_cameras: false,
@@ -453,7 +453,7 @@ describe('should handle custom frigate elements', () => {
it('should not require title controls to specify all options', () => {
expect(
createConfig({
cameras: [],
cameras: [{}],
live: {
controls: {
title: {