From ed8070a6e42fb6c41dfd6b55094f9df4298283e8 Mon Sep 17 00:00:00 2001 From: xhliu Date: Thu, 28 Mar 2024 10:29:41 -0700 Subject: [PATCH] Update test folder in README --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 24c1433d..2d362919 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,7 @@ See the [docs](https://scrypt.io/docs/how-to-debug-a-contract/#use-visual-studio ## Project Structure - `src/contracts` - This is where all the smart contract code is. Each file is for a separate smart contract example, e.g. the `P2PKH` smart contract is defined inside `src/contracts/p2pkh.ts`. -- `tests/local` - This is the directory which contains smart contract tests that get executed locally. Each smart contract has its separate test file. -- `tests/testnet` - This is the directory which contains smart contract tests that get broadcast to the Bitcoin testnet. +- `tests/` - This is the directory which contains smart contract tests. They can be executed locally or on testnet, depending on the `NETWORK` environment variable. Each smart contract has its separate test file. ## Legacy boilerplate