import * as __WEBPACK_EXTERNAL_MODULE__hooks_useSpecialCase_mjs__ from "../../hooks/useSpecialCase.mjs";
describe('transformValue', ()=>{
    it('value is an array', ()=>{
        const value = [
            {
                a: 3
            },
            {
                a: 4
            }
        ];
        const deps = {
            field: {
                value: [
                    {
                        a: 1,
                        b: 11
                    }
                ]
            },
            subFieldSchema: {
                name: 'a'
            }
        };
        expect((0, __WEBPACK_EXTERNAL_MODULE__hooks_useSpecialCase_mjs__.transformValue)(value, deps)).toMatchInlineSnapshot('\n      [\n        {\n          "a": {\n            "a": 3,\n          },\n          "b": 11,\n        },\n        {\n          "__notFromDatabase": true,\n          "a": {\n            "a": 4,\n          },\n          "b": 11,\n        },\n      ]\n    ');
    });
});
