Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 363 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 363 Bytes

TypeScript example

Setup

Do the usual setup as described in the main README and the following steps:

yarn add -D typescript

Add a tsconfig.json file just like tsconfig.json.

Notice that you need to import @vtex/test-tools/react whenever you want to use Jest, since react.d.ts exports the types for Jest.

Done 🎉