Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Typedoc integration tests #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jacobroufa
Copy link
Contributor

This PR will resolve #12.

Per that ticket the following tests have been added:

  • testing of typedoc's externalPattern and excludeExternals
    options
  • testing of typedoc's exclude option
  • testing of creation of JSON output with typedoc
  • testing of typedoc's includeDeclarations option

@dylans dylans added this to the 2017.05 milestone May 27, 2017
@eheasley eheasley modified the milestones: 2017.05, 2017.06 Jun 6, 2017
@dylans dylans modified the milestones: 2017.06, 2017.07 Jul 4, 2017
@dylans dylans modified the milestones: 2017.07, 2017.08 Jul 29, 2017
@maier49 maier49 requested a review from devpaul August 22, 2017 20:30
const tmpDir = mkdtempSync('.test/dir-');

if (ext) {
return join(tmpDir, `index${ext}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand why this was done because sometimes we want a filename. But it doesn't really follow that by passing an extension that it should make a temp directory and join it with a filename index${ext}. I would just move the join outside of this function to explicitly call out what's going on.

@@ -12,7 +12,7 @@ export const loaderOptions = {

export const suites = [ 'tests/unit/all' ];

export const excludeInstrumentation = /^(?:_build\/tests|node_modules)\//;
export const excludeInstrumentation = true; // /^(?:_build\/tests|node_modules)\//;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why we excluded instrumentation here

@kitsonk kitsonk modified the milestones: 2017.08, 2017.09 Sep 4, 2017
@dylans dylans modified the milestones: 2017.09, 2017.11 Oct 10, 2017
@kitsonk kitsonk removed this from the 2017.11 milestone Dec 1, 2017
@dylans dylans added this to the long-grass milestone Dec 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typedoc Integration Tests
6 participants