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

Ava Upgrade #654

Merged
merged 19 commits into from
Jun 23, 2020
Merged

Ava Upgrade #654

merged 19 commits into from
Jun 23, 2020

Conversation

rgomezp
Copy link
Contributor

@rgomezp rgomezp commented Jun 14, 2020

Description

Upgrades Ava testing framework for better testing of the WebSDK + compatibility with VSCode debugging support.

Changes

  • Upgrade minimum version from ^0.21.0 to ^2.8.2
  • TestContext and Context no longer exported by Ava npm package
  • t.throws method signature changed
  • t.throwsAsync now required for asynchronous functions
  • Added README.md
  • Removed duplicated tests and renamed tests to have unique titles

Validation:

  • Ran all unit tests

[x ] All the automated tests pass or I explained why that is not possible
[x] I have personally tested this on my machine or explained why that is not possible


This change is Reviewable

@rgomezp rgomezp requested review from itrush and removed request for itrush June 14, 2020 00:45
@rgomezp rgomezp requested a review from jkasten2 June 15, 2020 22:24
@rgomezp rgomezp requested a review from itrush June 16, 2020 17:27

export function beforeEach<T>(getContext: () => Promise<T>): RegisterContextual<T> {
Copy link
Contributor Author

@rgomezp rgomezp Jun 16, 2020

Choose a reason for hiding this comment

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

Not sure what RegisterContextual is/is doing. It was deprecated and no longer exists in

@rgomezp
Copy link
Contributor Author

rgomezp commented Jun 22, 2020

To update node within docker, see comment (bug with docker-compose)

Copy link
Contributor

@itrush itrush left a comment

Choose a reason for hiding this comment

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

Reviewed 15 of 30 files at r1, 15 of 15 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @jkasten2 and @rgomezp)


test/unit/helpers/ServiceWorkerHelper.ts, line 36 at r2 (raw file):

test.todo("upsertSession: if has existing session, reactivate if inactive");

may I ask you please to create a jira ticket to implement these tests? I thought I already did but apparently it's not true. :(

@rgomezp rgomezp merged commit adba16f into master Jun 23, 2020
@rgomezp rgomezp deleted the ava-upgrade branch June 23, 2020 18:39
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