Skip to content

Instantly share code, notes, and snippets.

@solkaz
solkaz / detox-ts.md
Last active August 14, 2024 18:07
Writing Detox Tests with TypeScript

Usage

This guide assumes you've got a project using Detox with Jest, and you want to write your Detox tests in TypeScript.

  • Refer to this guide if you need to set up such a project.

1. Add TypeScript + ts-jest to package.json

We'll be using ts-jest to run Jest tests with TypeScript.