diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-24 02:00:34 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-29 20:50:55 +0800 |
commit | 775d1efd4607a4097704fe3c4f7ae1156b2c1a6f (patch) | |
tree | 4e3890609606bfff6548a841106807f6bcc76795 /packages/sol-doc/test/solidity_doc_generator_test.ts | |
parent | 849e203812aacff453228a372143600b05155a2c (diff) | |
download | dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.gz dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.bz2 dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.lz dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.xz dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.tar.zst dexon-0x-contracts-775d1efd4607a4097704fe3c4f7ae1156b2c1a6f.zip |
add package sol-doc
Diffstat (limited to 'packages/sol-doc/test/solidity_doc_generator_test.ts')
-rw-r--r-- | packages/sol-doc/test/solidity_doc_generator_test.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/sol-doc/test/solidity_doc_generator_test.ts b/packages/sol-doc/test/solidity_doc_generator_test.ts new file mode 100644 index 000000000..697974c6e --- /dev/null +++ b/packages/sol-doc/test/solidity_doc_generator_test.ts @@ -0,0 +1,22 @@ +import * as chai from 'chai'; +import 'mocha'; + +import { SolidityDocGenerator } from '../src/solidity_doc_generator'; + +import { chaiSetup } from './util/chai_setup'; + +chaiSetup.configure(); +const expect = chai.expect; + +describe('#SolidityDocGenerator', () => { + it('should generate', async () => { + const generator = new SolidityDocGenerator( + `${__dirname}/../../test/fixtures/contracts`, + `${__dirname}/../../test/fixtures/artifacts`, + ); + + const doc = await generator.generateAsync(['TokenTransferProxy']); + + expect(doc).to.not.be.undefined(); + }); +}); |