-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: master
Are you sure you want to change the base?
Conversation
const tmpDir = mkdtempSync('.test/dir-'); | ||
|
||
if (ext) { | ||
return join(tmpDir, `index${ext}`); |
There was a problem hiding this comment.
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)\//; |
There was a problem hiding this comment.
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
This PR will resolve #12.
Per that ticket the following tests have been added:
externalPattern
andexcludeExternals
options
exclude
optionincludeDeclarations
option