small fix (follow)

This commit is contained in:
ilyes-ced 2024-03-24 18:55:56 +00:00
parent 29ec8cbd0a
commit 3b8e6ecc42

View File

@ -13,10 +13,10 @@ describe('quadrant unit tests', () => {
});
});
it('should throw an error for unacceptable style name', () => {
it('should throw an error for non supported style name', () => {
const styles: string[] = ['test_name: value'];
expect(() => quadrantDb.parseStyles(styles)).toThrowError(
'style named test_name is unacceptable'
'style named test_name is not supported.'
);
});
@ -26,7 +26,7 @@ describe('quadrant unit tests', () => {
expect(result).toEqual({});
});
it('should throw an error for unacceptable style value', () => {
it('should throw an error for non supported style value', () => {
let styles: string[] = ['radius: f'];
expect(() => quadrantDb.parseStyles(styles)).toThrowError(
'value for radius f is invalid, please use a valid number'