Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
tests: add unit tests to the cbtc example
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard committed Mar 18, 2024
1 parent 733a15e commit 1d4414b
Show file tree
Hide file tree
Showing 10 changed files with 2,369 additions and 180 deletions.
9 changes: 9 additions & 0 deletions example/cbtc/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@
**/settings/Testnet.toml
.requirements/
history.txt

# Ignore Node and NPM files. Added by the clarinet-sdk migration.
logs
*.log
npm-debug.log*
coverage
*.info
costs-reports.json
node_modules
7 changes: 3 additions & 4 deletions example/cbtc/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

{
"deno.enable": true,
"files.eol": "\n"
}
"deno.enable": false,
"files.eol": "\n"
}
9 changes: 9 additions & 0 deletions example/cbtc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,12 @@ and
```bash
clarinet deployment apply -p deployments/unwrap-btc.devnet-plan.yaml
```

## Run the unit tests

Install the npm dependencies and run the test:

```bash
npm install
npm test
```
167 changes: 15 additions & 152 deletions example/cbtc/deployments/default.simnet-plan.yaml

Large diffs are not rendered by default.

Loading

0 comments on commit 1d4414b

Please sign in to comment.