aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-29 21:22:05 +0800
committerFabio Berger <me@fabioberger.com>2018-09-29 21:22:05 +0800
commit005b7a55e866a735e86dc58ff62b0cf3301f59cd (patch)
tree3d065873e3025bff4d440b7ad8307e7dc869b699 /packages/sol-doc
parent033340e304a92e4022cd3bce06f612e904a73faf (diff)
downloaddexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar
dexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.gz
dexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.bz2
dexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.lz
dexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.xz
dexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.zst
dexon-sol-tools-005b7a55e866a735e86dc58ff62b0cf3301f59cd.zip
Fix tests
Diffstat (limited to 'packages/sol-doc')
-rw-r--r--packages/sol-doc/test/solidity_doc_generator_test.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/sol-doc/test/solidity_doc_generator_test.ts b/packages/sol-doc/test/solidity_doc_generator_test.ts
index ba08ebd00..91e0af789 100644
--- a/packages/sol-doc/test/solidity_doc_generator_test.ts
+++ b/packages/sol-doc/test/solidity_doc_generator_test.ts
@@ -11,12 +11,9 @@ import { chaiSetup } from './util/chai_setup';
chaiSetup.configure();
const expect = chai.expect;
-let solDoc: SolDoc;
+const solDoc = new SolDoc();
describe('#SolidityDocGenerator', () => {
- before(() => {
- solDoc = new SolDoc();
- });
it('should generate a doc object that matches the devdoc-free TokenTransferProxy fixture', async () => {
const doc = await solDoc.generateSolDocAsync(`${__dirname}/../../test/fixtures/contracts`, [
'TokenTransferProxyNoDevdoc',