"use strict";
var __webpack_exports__ = {};
const useSpecialCase_js_namespaceObject = require("../../hooks/useSpecialCase.js");
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, useSpecialCase_js_namespaceObject.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    ');
    });
});
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
