aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2019-01-17 22:37:43 +0800
committerFabio Berger <me@fabioberger.com>2019-01-17 22:37:43 +0800
commit3b79754b7a42501698f4c4d3e8e4100f520cae16 (patch)
tree8112232280e5e85e4406503f77da43ee49fee4da /packages/website
parent737941e8c79376814b25b36737384c176a26fbff (diff)
downloaddexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.tar
dexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.tar.gz
dexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.tar.bz2
dexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.tar.lz
dexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.tar.xz
dexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.tar.zst
dexon-sol-tools-3b79754b7a42501698f4c4d3e8e4100f520cae16.zip
Remove incorrect section of docs
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/md/docs/sol_trace/usage.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/website/md/docs/sol_trace/usage.md b/packages/website/md/docs/sol_trace/usage.md
index f3aa6fc35..516585683 100644
--- a/packages/website/md/docs/sol_trace/usage.md
+++ b/packages/website/md/docs/sol_trace/usage.md
@@ -53,10 +53,4 @@ const traceSubprovider = new TraceSubprovider(artifactsAdapter, defaultFromAddre
provider.addProvider(traceSubprovider);
```
-After your test suite is complete (e.g in the Mocha global `after` hook), you'll need to call:
-
-```typescript
-await traceSubprovider.writeTraceAsync();
-```
-
-This will create a `trace.json` file in a `trace` directory. This file has an [Istanbul format](https://github.com/gotwarlost/istanbul/blob/master/trace.json.md) - so you can use it with any of the existing Istanbul reporters.
+Now when you run your tests, it should print out stack traces when encountering an error.