aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc/test/solidity_doc_generator_test.ts
blob: 1df3e5b44dc3412e9a50e1e25dc3b7465daf5d8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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`);

        const doc = await generator.generateAsync(['TokenTransferProxy']);

        expect(doc).to.not.be.undefined();
    });
});