Fix type reference to circle

This commit is contained in:
Steve Ruiz 2021-06-22 22:11:47 +01:00
parent 7d14791d00
commit a9042e4b05
2 changed files with 2 additions and 4 deletions

View file

@ -75,7 +75,7 @@ export default function ToolsPanel(): JSX.Element {
</Tooltip> </Tooltip>
<Tooltip label="Ellipse"> <Tooltip label="Ellipse">
<IconButton <IconButton
name={ShapeType.Circle} name={ShapeType.Ellipse}
bp={{ '@initial': 'mobile', '@sm': 'small' }} bp={{ '@initial': 'mobile', '@sm': 'small' }}
size={{ '@initial': 'medium', '@sm': 'small', '@md': 'large' }} size={{ '@initial': 'medium', '@sm': 'small', '@md': 'large' }}
onClick={selectEllipseTool} onClick={selectEllipseTool}

View file

@ -3,9 +3,7 @@ module.exports = {
testEnvironment: 'jsdom', testEnvironment: 'jsdom',
moduleFileExtensions: ['ts', 'tsx', 'mjs', 'js', 'json', 'jsx'], moduleFileExtensions: ['ts', 'tsx', 'mjs', 'js', 'json', 'jsx'],
testPathIgnorePatterns: ['<rootDir>[/\\\\](node_modules|.next)[/\\\\]'], testPathIgnorePatterns: ['<rootDir>[/\\\\](node_modules|.next)[/\\\\]'],
transformIgnorePatterns: [ transformIgnorePatterns: ['node_modules/(?!(browser-fs-access)/)'],
'node_modules/(?!(browser-fs-access)/)',
],
transform: { transform: {
'^.+\\.(ts|tsx|mjs)$': 'babel-jest', '^.+\\.(ts|tsx|mjs)$': 'babel-jest',
}, },