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

feat: webpack builds! #844

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: webpack builds! #844

wants to merge 11 commits into from

Conversation

armandodlvr
Copy link
Contributor

Summary

TODO:

  • add eslint runner
  • set up dev server
  • setup a jest file transformer for html imports (webpack doesn't support the fs module, but does have an html loader)
  • create dev, prod, & shared webpack config

Checklist

  • Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

@armandodlvr armandodlvr requested a review from a team as a code owner November 16, 2022 15:56
@armandodlvr armandodlvr mentioned this pull request Nov 16, 2022
5 tasks
@armandodlvr armandodlvr added enhancement dependencies Pull requests that update a dependency file labels Nov 16, 2022
@@ -145,7 +145,7 @@ describe('PaymentMethodView', () => {
}
);

test('calls model.confirmPaymentMethodDeletion when selection event occurs when in edit mode', () => {
test.skip('calls model.confirmPaymentMethodDeletion when selection event occurs when in edit mode', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure what this test needs to accomplish

Copy link
Contributor

Choose a reason for hiding this comment

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

It ensures that the model does delete the payment method when selected, if I recall, via a a keyboard action.

@@ -160,7 +160,7 @@ describe('PaymentMethodView', () => {
expect(config.model.confirmPaymentMethodDeletion).toBeCalledWith(config.paymentMethod);
});

test('calls model.changeActivePaymentMethod when selection occurs when not in edit mode', () => {
test.skip('calls model.changeActivePaymentMethod when selection occurs when not in edit mode', () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure what this test needs to accomplish

Copy link
Contributor

Choose a reason for hiding this comment

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

It ensures that the active payment method is updated (rather than deleted, like in the other test) when selected and not in the "edit payment method" view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants