diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-29 21:22:05 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-29 21:22:05 +0800 |
commit | 005b7a55e866a735e86dc58ff62b0cf3301f59cd (patch) | |
tree | 3d065873e3025bff4d440b7ad8307e7dc869b699 /packages/sol-doc/test/solidity_doc_generator_test.ts | |
parent | 033340e304a92e4022cd3bce06f612e904a73faf (diff) | |
download | dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.gz dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.bz2 dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.lz dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.xz dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.tar.zst dexon-0x-contracts-005b7a55e866a735e86dc58ff62b0cf3301f59cd.zip |
Fix tests
Diffstat (limited to 'packages/sol-doc/test/solidity_doc_generator_test.ts')
-rw-r--r-- | packages/sol-doc/test/solidity_doc_generator_test.ts | 5 |
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', |