test: update test

This commit is contained in:
Miralem Drek
2019-10-29 18:04:28 +01:00
parent 6721972d81
commit b28934cf66

View File

@@ -131,7 +131,10 @@ describe('ObjectAPI', () => {
api.setLayout({ visualization: 'viz', version: 'vers' });
expect(api.setState).to.have.been.calledWithExactly({
layout: { visualization: 'viz', version: 'vers' },
error: { message: 'Could not find a version that supports current object version' },
error: {
message:
"Could not find a version of 'viz' that supports current object version. Did you forget to register viz?",
},
sn: null,
});
});