Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('getCalculatedWidths', () => {
expect(helper.getCalculatedWidth(10)).toEqual('10%');
expect(helper.getCalculatedWidth('10px')).toEqual('10px');
expect(helper.getCalculatedWidth('10rem')).toEqual('10rem');
});
it('getCalculatedWidths', () => {
expect(helper.getCalculatedWidth(10)).toEqual('10%');
expect(helper.getCalculatedWidth('10px')).toEqual('10px');
expect(helper.getCalculatedWidth('10rem')).toEqual('10rem');
});
it('getCalculatedWidths', () => {
expect(helper.getCalculatedWidth(10)).toEqual('10%');
expect(helper.getCalculatedWidth('10px')).toEqual('10px');
expect(helper.getCalculatedWidth('10rem')).toEqual('10rem');
});