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

Added debug configuration for vscode #1

Merged
merged 11 commits into from
Nov 30, 2018
Merged

Added debug configuration for vscode #1

merged 11 commits into from
Nov 30, 2018

Conversation

Aboisier
Copy link
Collaborator

No description provided.

Copy link

@bryanmenard bryanmenard left a comment

Choose a reason for hiding this comment

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

Didn't try it out, but looks good

@@ -14,10 +14,11 @@ export class RunCommand implements CliCommand {
include: ['**/*.spec.ts']
};

constructor(private logger: Logger, private _configFile: string = 'testy.json') { }
constructor(private logger: Logger, private _configFile: string = 'testy.json', private _tsConfigFile = 'tsconfig.json') { }

Choose a reason for hiding this comment

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

Any reason in particular for prefixing these two with underscore? (and not logger)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They are prefixed with underscores because they have public getters, whereas the logger is purely private. The public getters are currently only used for testing purposes though, which is not ideal IMO.

@Aboisier Aboisier merged commit c2381cb into master Nov 30, 2018
@Aboisier Aboisier deleted the debug-tests branch December 1, 2018 17:45
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.

2 participants