Fix UI unit tests (#7856)

This commit is contained in:
Nicolas Vazquez 2023-08-11 11:47:11 -03:00 committed by GitHub
parent d22a3d517d
commit 0204377032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -739,12 +739,14 @@ describe('Views > AutogenView.vue', () => {
expect(wrapper.vm.items).toEqual([{
id: 'test-id',
name: 'test-name-value',
key: 0
key: 0,
column1: 'test-name-value'
}])
expect(wrapper.vm.resource).toEqual({
id: 'test-id',
name: 'test-name-value',
key: 0
key: 0,
column1: 'test-name-value'
})
done()
})