Skip to content

Commit

Permalink
Fix Color tests
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidarruben committed Feb 25, 2021
1 parent 04c8766 commit 598c0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/dom/style/__tests__/Color.test.js
Expand Up @@ -5,7 +5,7 @@ import { Style } from '../..'
test('should create a Color from a hex string', () => {
// #rrggbbaa
const color = Style.colorFromString('#11223344')
expect(String(color._object.class())).toBe('MSImmutableColor')
expect(String(color.class())).toBe('MSImmutableColor')
expect(Style.colorToString(color)).toBe('#11223344')

// #rrggbb
Expand Down

0 comments on commit 598c0a5

Please sign in to comment.