Skip to content

Commit

Permalink
fix(docs): Update paths to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv committed Oct 19, 2024
1 parent dec99e2 commit 45b5b27
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/hacking/developing-misti.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ yarn misti
For example, to run it for tests:

```bash
yarn misti test/good/never-accessed.tact
yarn misti test/detectors/NeverAccessedVariables.tact
```

## Adding Backtraces to the Logger

To add debug traces to all log messages, set the `MISTI_TRACE` environment variable to `1`:

```bash
export MISTI_TRACE=1
MISTI_TRACE=1 yarn misti test/detectors/NeverAccessedVariables.tact
```

## Updating Expected Outputs of Tests
Expand All @@ -53,13 +53,11 @@ BLESS=1 yarn test
You can also run a single test or update its expected output when working with a specific test file:

```bash
BLESS=1 yarn test test/tactIR.spec.ts tests/good/never-accessed.tact
BLESS=1 yarn test test/tactIR.spec.ts tests/detectors/NeverAccessedVariables.tact
```

And for another specific test:

```bash
BLESS=1 yarn test test/builtinDetectors.spec.ts test/good/branch-duplicate.tact
BLESS=1 yarn test test/builtinDetectors.spec.ts test/detectors/BranchDuplicate.tact
```


0 comments on commit 45b5b27

Please sign in to comment.