+ {({ transformMatrix }) => {
+ const { scaleX, scaleY, translateX, translateY } = transformMatrix;
+ return {[scaleX, scaleY, translateX, translateY].join(',')}
;
+ }}
+ ,
+ );
+
+ expect(wrapper.find('div')).toHaveLength(1);
+ expect(wrapper.find('div').text()).toEqual('1.27,1.27,-211.62,162.59');
+ });
});
describe('inverseMatrix', () => {
- test('it should be defined', () => {
+ it('should be defined', () => {
expect(inverseMatrix).toBeDefined();
});
});