Skip to content

Feature - SDK tests#9

Merged
markogresak merged 5 commits intofeature/user-agentfrom
feature/sdk-tests
Nov 22, 2019
Merged

Feature - SDK tests#9
markogresak merged 5 commits intofeature/user-agentfrom
feature/sdk-tests

Conversation

@markogresak
Copy link
Contributor

No task for this. I've skipped doing any tests in the initial implementation of SDK (#2, #6), but I believe we should have some tests.

},
};

function successJsonResponse(body, status = 200) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is copied from Api.test.js. I wasn't sure if it was worth it to extract this into "test utils" file.

Node 8.16 (latest LTS release) is currently the oldest supported LTS
version.
Copy link
Contributor

@kamilmielnik kamilmielnik left a comment

Choose a reason for hiding this comment

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

but I believe we should have some tests.

🤷‍♂️

I think the code is so simple it does not require tests. But if you already did it...

@markogresak markogresak merged commit 9968f31 into feature/user-agent Nov 22, 2019
@markogresak markogresak deleted the feature/sdk-tests branch November 22, 2019 19:26
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.

3 participants