diff --git a/test/vitest/__tests__/components/common/CrudModel.spec.js b/test/vitest/__tests__/components/common/CrudModel.spec.js index e28b6003e..e0afd30ad 100644 --- a/test/vitest/__tests__/components/common/CrudModel.spec.js +++ b/test/vitest/__tests__/components/common/CrudModel.spec.js @@ -157,7 +157,6 @@ describe('CrudModel', () => { }); it('should return true if array is empty', async () => { - dummyArray = []; result = vm.isEmpty(dummyArray); @@ -165,7 +164,6 @@ describe('CrudModel', () => { }); it('should return false if array is not empty', async () => { - dummyArray = [1,2,3]; result = vm.isEmpty(dummyArray); @@ -174,7 +172,6 @@ describe('CrudModel', () => { }); describe('resetData()', () => { - it('should add $index to elements in data[] and sets originalData and formData with data', async () => { data = [{ name: 'Tony',