Adding the line render() gives the error below Error: button.spec.tsx:17:35 - error TS1003: Identifier expected. 17 render(<Button onClick={action}) ~