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

Refactor #28

Merged
merged 23 commits into from
Jun 20, 2018
Merged

Refactor #28

merged 23 commits into from
Jun 20, 2018

Conversation

leggsimon
Copy link
Contributor

@leggsimon leggsimon commented Jun 15, 2018

A reasonable refactor, but the individual commits/commit messages should help explain my process.

The aim of this is to reduce some of the complexity that n-syndication has. Trying to reduce the spread out config in favour of in-file config where appropriate (where stuff from config is only used in one place) to avoid file jumping when having to diagnose or search for code.

Copy link
Contributor

@dapenguin dapenguin left a comment

Choose a reason for hiding this comment

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

A small update to some test text, but aside from that and the build failing, LGTM 👍

@@ -2,7 +2,7 @@

const { expect } = require('chai');

const underTest = require('../../../src/js/redux');
const underTest = require('../../../src/js/index');
Copy link
Contributor

Choose a reason for hiding this comment

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

Think you need to update the path in the describe() on line 7.

@leggsimon leggsimon changed the base branch from remove-old-syndication-icons to master June 18, 2018 12:40
Copy link
Contributor

@dapenguin dapenguin left a comment

Choose a reason for hiding this comment

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

Just a small question about the text in one of your test placeholders. Aside from that, LGTM 👍


context('when syndication customer', () => {
it.skip('should return undefined if the user isn’t migrated', () => { });
it.skip('should return initialise the republising navigation', () => { });
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure I understand this one. IS the text correct?

@leggsimon leggsimon merged commit ce86fd2 into master Jun 20, 2018
@leggsimon leggsimon deleted the refactor branch June 20, 2018 10:56
@leggsimon leggsimon mentioned this pull request Aug 8, 2018
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