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 source as optional param to stub #636

Merged
merged 1 commit into from
May 20, 2024

Conversation

akgula
Copy link
Contributor

@akgula akgula commented May 18, 2024

Updating the input type of stub function to allow source property to be passed in. This change allows other TS files calling harness.stub to pass in a view source to harness.app.views.register. If source isn't passed in, stub will continue to register with a view of ''.

this.app.views.register(arg.is, arg.source || '');

@craigbeck craigbeck merged commit ce75f1e into derbyjs:master May 20, 2024
3 checks passed
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