diff --git a/src/components/__tests__/CrudModel.spec.js b/src/components/__tests__/CrudModel.spec.js index f6c93e0d5..2fa53653b 100644 --- a/src/components/__tests__/CrudModel.spec.js +++ b/src/components/__tests__/CrudModel.spec.js @@ -197,11 +197,11 @@ describe('CrudModel', () => { }); it('should set originalData and formatData with data and generate watchChanges', async () => { - data = { + data = [{ name: 'Tony', lastName: 'Stark', age: 42, - }; + }]; vm.resetData(data);