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

Handle har no entries #35

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

Conversation

swarkentin
Copy link

No description provided.

Sheldon Warkentin and others added 3 commits June 21, 2021 13:39
* This change is only at the API level for now (no CLI flag)

Set `esModuleInterop` to `true`

* This fixes some typescript build errors caused by `GenerateSchema` import
@@ -49,8 +49,10 @@ export class AvantationAPI implements Avantation.InputConfig {
this.run();
}

private async run() {
this.har.log.entries.forEach(this.buildEntry.bind(this));
private run() {
Copy link
Author

Choose a reason for hiding this comment

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

Having run as an async method in the constructor was making this difficult to test - does it need to be async?

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.

None yet

1 participant