-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
There was a problem hiding this 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 👍
test/src/js/index.spec.js
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
const { expect } = require('chai'); | |||
|
|||
const underTest = require('../../../src/js/redux'); | |||
const underTest = require('../../../src/js/index'); |
There was a problem hiding this comment.
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.
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
🐿 v2.9.0
There was a problem hiding this 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 👍
test/src/js/index.spec.js
Outdated
|
||
context('when syndication customer', () => { | ||
it.skip('should return undefined if the user isn’t migrated', () => { }); | ||
it.skip('should return initialise the republising navigation', () => { }); |
There was a problem hiding this comment.
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?
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.